-
Notifications
You must be signed in to change notification settings - Fork 4.1k
/
time.json
53 lines (53 loc) · 1.28 KB
/
time.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
[
{
"id": "time_desc_label",
"type": "widget",
"label": "Time",
"style": "text",
"var": "time_text"
},
{
"id": "sundial_desc_no_label",
"type": "widget",
"label": "Sundial",
"style": "text",
"var": "sundial_text",
"width": 0,
"flags": [ "W_LABEL_NONE", "W_DISABLED_BY_DEFAULT" ]
},
{
"id": "sundial_time_desc_no_label",
"type": "widget",
"label": "Sundial",
"style": "text",
"var": "sundial_time_text",
"width": 0,
"flags": [ "W_LABEL_NONE", "W_DISABLED_BY_DEFAULT" ]
},
{
"id": "time_desc_no_label",
"type": "widget",
"copy-from": "time_desc_label",
"flags": [ "W_LABEL_NONE" ]
},
{
"id": "sundial_label_text",
"type": "widget",
"style": "text",
"width": 6,
"flags": [ "W_LABEL_NONE" ],
"clauses": [
{ "id": "sundial_sun", "text": "Sun: ", "color": "white", "condition": "is_day" },
{ "id": "sundial_moon", "text": "Moon: ", "color": "white", "condition": { "not": "is_day" } }
]
},
{
"id": "sundial_label_layout",
"type": "widget",
"style": "layout",
"label": "Sundial",
"arrange": "minimum_columns",
"widgets": [ "sundial_label_text", "sundial_desc_no_label" ],
"flags": [ "W_LABEL_NONE", "W_DISABLED_BY_DEFAULT" ]
}
]