-
-
Notifications
You must be signed in to change notification settings - Fork 343
Expand file tree
/
Copy paththeme.yaml
More file actions
182 lines (167 loc) · 4.86 KB
/
theme.yaml
File metadata and controls
182 lines (167 loc) · 4.86 KB
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
# This theme is an example of how to implement and display custom data in System Monitor
# It is possible to add external sensor sources that come from custom Python code or external modules, and integrate them in an existing theme
# This file is the theme part to display the custom data, custom data gathering must first be implemented in Python into the sensors_custom.py file
# Names of the custom sensor classes listed here must be an exact match to class names in sensors_custom.py
---
display:
DISPLAY_ORIENTATION: landscape
DISPLAY_RGB_LED: 61, 184, 225
static_images:
BACKGROUND:
PATH: background.png
X: 0
Y: 0
WIDTH: 480
HEIGHT: 320
STATS:
DISK:
INTERVAL: 10
MOUNTS:
- '/':
USED:
TEXT:
SHOW: True
SHOW_UNIT: True
X: 155
Y: 338
FONT: generale-mono/GeneraleMonoA.ttf
FONT_SIZE: 26
FONT_COLOR: 2, 216, 243
BACKGROUND_IMAGE: background.png
PERCENT_TEXT:
SHOW: True
SHOW_UNIT: True
X: 170
Y: 430
FONT: generale-mono/GeneraleMonoA.ttf
FONT_SIZE: 30
FONT_COLOR: 2, 216, 243
BACKGROUND_IMAGE: background.png
FREE:
TEXT:
SHOW: True
SHOW_UNIT: True
X: 155
Y: 383
FONT: generale-mono/GeneraleMonoA.ttf
FONT_SIZE: 26
FONT_COLOR: 2, 216, 243
BACKGROUND_IMAGE: background.png
- '/boot/efi':
USED:
TEXT:
SHOW: True
SHOW_UNIT: True
X: 155
Y: 338
FONT: generale-mono/GeneraleMonoA.ttf
FONT_SIZE: 26
FONT_COLOR: 2, 216, 243
BACKGROUND_IMAGE: background.png
PERCENT_TEXT:
SHOW: True
SHOW_UNIT: True
X: 170
Y: 430
FONT: generale-mono/GeneraleMonoA.ttf
FONT_SIZE: 30
FONT_COLOR: 2, 216, 243
BACKGROUND_IMAGE: background.png
FREE:
TEXT:
SHOW: True
SHOW_UNIT: True
X: 155
Y: 383
FONT: generale-mono/GeneraleMonoA.ttf
FONT_SIZE: 26
FONT_COLOR: 2, 216, 243
BACKGROUND_IMAGE: background.png
DATE:
INTERVAL: 1
HOUR:
TEXT:
SHOW: True
X: 20
Y: 30
FONT: roboto-mono/RobotoMono-Bold.ttf
FONT_SIZE: 20
FONT_COLOR: 200, 200, 200
# BACKGROUND_COLOR: 50, 0, 0
BACKGROUND_IMAGE: background.png
# All custom sensor classes are listed under CUSTOM
CUSTOM:
# For now the refresh interval (in seconds) is the same for all custom data classes
INTERVAL: 3
# The name of the class must be an exact match to the class name in sensors_custom.py
ExampleCustomNumericData:
# There are 4 ways of displaying a custom sensor containing numeric values: as text, as bar graph (progress bar), as radial progress bar, as line graph
TEXT:
SHOW: True
X: 50
Y: 80
FONT: roboto-mono/RobotoMono-Bold.ttf
FONT_SIZE: 40
FONT_COLOR: 200, 200, 200
# BACKGROUND_COLOR: 50, 0, 0
BACKGROUND_IMAGE: background.png
GRAPH:
SHOW: True
X: 50
Y: 150
WIDTH: 180
HEIGHT: 30
MIN_VALUE: 0
MAX_VALUE: 100
BAR_COLOR: 255, 135, 0
BAR_OUTLINE: True
# BACKGROUND_COLOR: 0, 0, 0
BACKGROUND_IMAGE: background.png
RADIAL:
SHOW: True
X: 350
Y: 130
RADIUS: 68
WIDTH: 18
MIN_VALUE: 0
MAX_VALUE: 100
ANGLE_START: 110
ANGLE_END: 70
ANGLE_STEPS: 1
ANGLE_SEP: 25
CLOCKWISE: True
BAR_COLOR: 61, 184, 225
SHOW_TEXT: True
SHOW_UNIT: True
FONT: roboto-mono/RobotoMono-Bold.ttf
FONT_SIZE: 25
FONT_COLOR: 255, 135, 0
# BACKGROUND_COLOR: 0, 0, 0
BACKGROUND_IMAGE: background.png
LINE_GRAPH:
SHOW: True
X: 300
Y: 220
WIDTH: 133
HEIGHT: 70
MIN_VALUE: 0
MAX_VALUE: 100
AUTOSCALE: False
LINE_COLOR: 61, 184, 225
AXIS: True
AXIS_COLOR: 255, 135, 0
AXIS_FONT: roboto/Roboto-Black.ttf
AXIS_FONT_SIZE: 10
BACKGROUND_IMAGE: background.png
# The name of the class must be an exact match to the class name in sensors_custom.py
ExampleCustomTextOnlyData:
# There are only 1 way of displaying a custom sensor containing text-only values: as text
TEXT:
SHOW: True
X: 34
Y: 250
FONT: roboto-mono/RobotoMono-Bold.ttf
FONT_SIZE: 28
FONT_COLOR: 61, 184, 225
# BACKGROUND_COLOR: 50, 0, 0
BACKGROUND_IMAGE: background.png