-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlayout.json
37 lines (37 loc) · 1.21 KB
/
layout.json
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
{
"info": {"version": 1, "license": "GPL-2.0-or-later"},
"layout": {
"rows": 3,
"widgets": [
{"type": "label", "tattr": "large|bold", "text": "00:00:00.0", "uid": "timer_time"},
{"type": "pbar", "unit": "none", "align": "hfill", "uid": "timer_pbar"},
{"type": "frame",
"align": "fill",
"title": "Settings",
"widget": {
"rows": 3,
"widgets": [
{"cols": 3, "align": "hfill", "border": "none",
"cpadf": "0, 1, 1, 0",
"cfill": "1, 1, 1",
"widgets": [
{"type": "spinner", "min": 0, "max": 24, "val": 0, "uid": "hours"},
{"type": "spinner", "min": 0, "max": 59, "val": 0, "uid": "mins"},
{"type": "spinner", "min": 0, "max": 59, "val": 10, "uid": "secs"}
]
},
{"type": "checkbox", "label": "Wake from sleep", "uid": "wake"},
{"cols": 3, "align": "hfill", "border": "none",
"cfill": "1, 1, 1",
"widgets": [
{"type": "button", "btype": "play", "on_event": "start_timer", "align": "hfill"},
{"type": "button", "btype": "pause", "on_event": "pause_timer", "align": "hfill"},
{"type": "button", "btype": "stop", "on_event": "stop_timer", "align": "hfill"}
]
}
]
}
}
]
}
}