-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsettings_example.py
39 lines (38 loc) · 1009 Bytes
/
settings_example.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
from src.analogue_clock_app import AnalogueClockApp
from src.blank_app import BlankApp
from src.clock_app import ClockApp
from src.gif_player_app import GifPlayerApp
from src.settings_utils import AppSettings, Settings, WifiSettings
settings = Settings(
apps=[
AppSettings(
app=AnalogueClockApp,
),
AppSettings(
app=GifPlayerApp,
time={
'hour': 8,
'minute': 30,
},
settings={
'gif_folder': '/gif',
'loop_time_seconds': 300,
},
),
AppSettings(
app=ClockApp, time={
'hour': 23,
'minute': 30,
},
settings={'twelve_hour': False}
),
AppSettings(
app=BlankApp,
time={
'hour': 0,
'minute': 30,
}
),
],
wifi=WifiSettings('SSID_NAME', 'SSDI_PASSWORD', skip_connection=True),
)