Skip to content

Commit dccf481

Browse files
committed
[Update] Use of line_graph instead of graphs for CPU and GPU in my theme
1 parent 4d0036d commit dccf481

1 file changed

Lines changed: 46 additions & 19 deletions

File tree

res/themes/Perso/theme.yaml

Lines changed: 46 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -71,19 +71,19 @@ STATS:
7171
# In seconds. Longer intervals cause this to refresh more slowly.
7272
# Setting to lower values will display near real time data,
7373
# but may cause significant CPU usage or the display not to update properly
74-
INTERVAL: 1
74+
INTERVAL: 0.5
7575
TEXT:
7676
SHOW: true
7777
SHOW_UNIT: true
78-
X: 65
79-
Y: 175
78+
X: 110
79+
Y: 127
8080
FONT: jetbrains-mono/JetBrainsMono-Bold.ttf
81-
FONT_SIZE: 40
81+
FONT_SIZE: 35
8282
FONT_COLOR: 247, 227, 227
8383
# BACKGROUND_COLOR: 0, 0, 0
8484
BACKGROUND_IMAGE: background.png
8585
GRAPH:
86-
SHOW: true
86+
SHOW: false
8787
X: 40
8888
Y: 210
8989
WIDTH: 160
@@ -94,6 +94,21 @@ STATS:
9494
BAR_OUTLINE: true
9595
# BACKGROUND_COLOR: 0, 0, 0
9696
BACKGROUND_IMAGE: background.png
97+
LINE_GRAPH:
98+
SHOW: true
99+
X: 30
100+
Y: 160
101+
WIDTH: 180
102+
HEIGHT: 70
103+
MIN_VALUE: 0
104+
MAX_VALUE: 100
105+
HISTORY_SIZE: 120
106+
AUTOSCALE: false
107+
LINE_COLOR: 247, 227, 227
108+
AXIS: true
109+
AXIS_COLOR: 247, 227, 227
110+
# BACKGROUND_COLOR: 0, 0, 0
111+
BACKGROUND_IMAGE: background.png
97112
FREQUENCY:
98113
# In seconds. Longer intervals cause this to refresh more slowly.
99114
# Setting to lower values will display near real time data,
@@ -168,8 +183,8 @@ STATS:
168183
TEXT:
169184
SHOW: true
170185
SHOW_UNIT: True
171-
X: 305
172-
Y: 175
186+
X: 345
187+
Y: 127
173188
FONT: jetbrains-mono/JetBrainsMono-Bold.ttf
174189
FONT_SIZE: 40
175190
FONT_COLOR: 247, 227, 227
@@ -187,6 +202,21 @@ STATS:
187202
BAR_OUTLINE: true
188203
# BACKGROUND_COLOR: 0, 0, 0
189204
BACKGROUND_IMAGE: background.png
205+
LINE_GRAPH:
206+
SHOW: true
207+
X: 270
208+
Y: 160
209+
WIDTH: 180
210+
HEIGHT: 70
211+
MIN_VALUE: 0
212+
MAX_VALUE: 100
213+
HISTORY_SIZE: 120
214+
AUTOSCALE: false
215+
LINE_COLOR: 247, 227, 227
216+
AXIS: True
217+
AXIS_COLOR: 247, 227, 227
218+
# BACKGROUND_COLOR: 0, 0, 0
219+
BACKGROUND_IMAGE: background.png
190220
MEMORY:
191221
GRAPH:
192222
SHOW: true
@@ -489,7 +519,7 @@ STATS:
489519
UPLOADED:
490520
TEXT:
491521
SHOW: true
492-
X: 315
522+
X: 370
493523
Y: 570
494524
FONT: jetbrains-mono/JetBrainsMono-Bold.ttf
495525
FONT_SIZE: 17
@@ -524,7 +554,7 @@ STATS:
524554
DOWNLOADED:
525555
TEXT:
526556
SHOW: true
527-
X: 80
557+
X: 135
528558
Y: 570
529559
FONT: jetbrains-mono/JetBrainsMono-Bold.ttf
530560
FONT_SIZE: 17
@@ -540,7 +570,7 @@ STATS:
540570
SHOW: True
541571
X: 275
542572
Y: 25
543-
FONT: roboto-mono/RobotoMono-Bold.ttf
573+
FONT: roboto/Roboto-Bold.ttf
544574
FONT_SIZE: 30
545575
FONT_COLOR: 247, 227, 227
546576
# BACKGROUND_COLOR: 50, 50, 50
@@ -551,28 +581,25 @@ STATS:
551581
SHOW: True
552582
X: 55
553583
Y: 25
554-
FONT: roboto-mono/RobotoMono-Bold.ttf
584+
FONT: roboto/Roboto-Bold.ttf
555585
FONT_SIZE: 30
556586
FONT_COLOR: 247, 227, 227
557587
# BACKGROUND_COLOR: 50, 50, 50
558588
BACKGROUND_IMAGE: background.png
559-
560589
WEATHER:
561-
INTERVAL: 120
590+
# For optimal use, if you don't want to trigger the free threshold daily call (1000 calls), the interval should be 90 MAX (not really useful as the API didn't update that quickly)
591+
INTERVAL: 300
562592
TEXT:
563593
SHOW: True
564-
X: 50
565-
Y: 60
594+
X: 55
595+
Y: 75
566596
FONT: roboto-mono/RobotoMono-Bold.ttf
567597
FONT_SIZE: 18
568598
FONT_COLOR: 247, 227, 227
569-
BACKGROUND_IMAGE: background.png
570-
599+
BACKGROUND_IMAGE: background.png
571600
CUSTOM:
572-
573601
# For now the refresh interval (in seconds) is the same for all custom data classes
574602
INTERVAL: 1
575-
576603
Ping:
577604
TEXT:
578605
SHOW: True

0 commit comments

Comments
 (0)