Skip to content

Commit be1d533

Browse files
committed
Add AMD 8.8" theme
1 parent fba484e commit be1d533

File tree

10 files changed

+107
-2
lines changed

10 files changed

+107
-2
lines changed
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

res/themes/AMD/background.png

241 KB
Loading

res/themes/AMD/preview.png

255 KB
Loading

res/themes/AMD/theme.yaml

Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
---
2+
display:
3+
DISPLAY_SIZE: 8.8"
4+
DISPLAY_ORIENTATION: landscape
5+
DISPLAY_RGB_LED: 224, 2, 48
6+
7+
static_images:
8+
BACKGROUND:
9+
PATH: background.png
10+
X: 0
11+
Y: 0
12+
WIDTH: 1920
13+
HEIGHT: 480
14+
15+
static_text:
16+
CPU:
17+
TEXT: CPU
18+
X: 1630
19+
Y: 64
20+
FONT: roboto-mono/RobotoMono-Bold.ttf
21+
FONT_SIZE: 38
22+
FONT_COLOR: 224, 2, 48
23+
BACKGROUND_IMAGE: background.png
24+
RAM:
25+
TEXT: RAM
26+
X: 1630
27+
Y: 156
28+
FONT: roboto-mono/RobotoMono-Bold.ttf
29+
FONT_SIZE: 38
30+
FONT_COLOR: 224, 2, 48
31+
BACKGROUND_IMAGE: background.png
32+
GPU:
33+
TEXT: GPU
34+
X: 58
35+
Y: 66
36+
FONT: roboto-mono/RobotoMono-Bold.ttf
37+
FONT_SIZE: 70
38+
FONT_COLOR: 224, 2, 48
39+
BACKGROUND_IMAGE: background.png
40+
TIME:
41+
TEXT: TIME
42+
X: 1533
43+
Y: 332
44+
FONT: roboto-mono/RobotoMono-Bold.ttf
45+
FONT_SIZE: 36
46+
FONT_COLOR: 205, 205, 205
47+
BACKGROUND_IMAGE: background.png
48+
49+
STATS:
50+
CPU:
51+
PERCENTAGE:
52+
INTERVAL: 1
53+
TEXT:
54+
SHOW: True
55+
SHOW_UNIT: True
56+
X: 1700
57+
Y: 62
58+
FONT: roboto-mono/RobotoMono-Medium.ttf
59+
FONT_SIZE: 80
60+
FONT_COLOR: 205, 205, 205
61+
BACKGROUND_IMAGE: background.png
62+
63+
GPU:
64+
INTERVAL: 1
65+
PERCENTAGE:
66+
TEXT:
67+
SHOW: True
68+
SHOW_UNIT: True
69+
X: 0
70+
Y: 153
71+
FONT: roboto-mono/RobotoMono-Medium.ttf
72+
FONT_SIZE: 180
73+
FONT_COLOR: 205, 205, 205
74+
BACKGROUND_IMAGE: background.png
75+
76+
MEMORY:
77+
INTERVAL: 1
78+
VIRTUAL:
79+
PERCENT_TEXT:
80+
SHOW: True
81+
SHOW_UNIT: True
82+
X: 1700
83+
Y: 152
84+
FONT: roboto-mono/RobotoMono-Medium.ttf
85+
FONT_SIZE: 80
86+
FONT_COLOR: 205, 205, 205
87+
BACKGROUND_IMAGE: background.png
88+
89+
DATE:
90+
# For time display, it is recommended not to change the interval: keep to 1
91+
INTERVAL: 1
92+
HOUR: # Format (12/24h, timezone translations) will match your computer locale
93+
TEXT:
94+
FORMAT: short # short (6:48 PM) / medium (6:48:53 PM) / long (6:48:53 PM UTC) / full (6:48:53 PM Coordinated Universal Time) / custom pattern e.g. "HH:mm:ss zzz" (6:48:53 EDT)
95+
SHOW: True
96+
X: 1644
97+
Y: 330
98+
WIDTH: 254
99+
HEIGHT: 56
100+
FONT: roboto/Roboto-Medium.ttf
101+
FONT_SIZE: 70
102+
FONT_COLOR: 205, 205, 205
103+
BACKGROUND_IMAGE: background.png
104+
ALIGN: left # left / center / right
105+
ANCHOR: rt # Check https://pillow.readthedocs.io/en/stable/handbook/text-anchors.html

res/themes/Cyberpunk 2077/theme.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
display:
33
DISPLAY_SIZE: 8.8"
44
DISPLAY_ORIENTATION: landscape
5-
DISPLAY_RGB_LED: 0, 0, 255
5+
DISPLAY_RGB_LED: 255, 239, 47
66

77
static_images:
88
BACKGROUND:

theme-editor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ def on_zoom_minus():
314314
viewer_picture.bind("<B1-Motion>", on_button1_press_and_drag)
315315
viewer_picture.bind("<ButtonRelease-1>", on_button1_release)
316316

317-
# Allow to resize editor using mouse wheel
317+
# Allow to resize editor using mouse wheel or buttons
318318
viewer.bind_all("<MouseWheel>", on_mousewheel)
319319

320320
zoom_plus_btn = tkinter.Button(viewer, text="Zoom +", command=lambda: on_zoom_plus())

0 commit comments

Comments
 (0)