Skip to content

Commit 41d3fa5

Browse files
committed
Add theme screenshot and some comments, update tests
1 parent 20a4030 commit 41d3fa5

File tree

7 files changed

+15
-11
lines changed

7 files changed

+15
-11
lines changed

.github/workflows/system-monitor-linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
fail-fast: false
1212
matrix:
1313
python-version: ["3.7", "3.8", "3.9", "3.10"]
14-
theme: [ "3.5inchTheme2", "Cyberpunk", "Landscape6Grid", "Terminal" ]
14+
theme: [ "3.5inchTheme2", "Cyberpunk", "Landscape6Grid", "Terminal", "bash-dark-green" ]
1515

1616
steps:
1717
- uses: actions/checkout@v3

.github/workflows/system-monitor-macos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
fail-fast: false
1212
matrix:
1313
python-version: ["3.7", "3.8", "3.9", "3.10"]
14-
theme: [ "3.5inchTheme2", "Cyberpunk", "Landscape6Grid", "Terminal" ]
14+
theme: [ "3.5inchTheme2", "Cyberpunk", "Landscape6Grid", "Terminal", "bash-dark-green" ]
1515

1616
steps:
1717
- uses: actions/checkout@v3

.github/workflows/system-monitor-windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
fail-fast: false
1212
matrix:
1313
python-version: ["3.7", "3.8", "3.9", "3.10"]
14-
theme: [ "3.5inchTheme2", "Cyberpunk", "Landscape6Grid", "Terminal" ]
14+
theme: [ "3.5inchTheme2", "Cyberpunk", "Landscape6Grid", "Terminal", "bash-dark-green" ]
1515

1616
steps:
1717
- uses: actions/checkout@v3

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Some themes are already included for a quick start!
4545
* Auto detect comm port. No longer need to hard set it, or if it changes on you then the config is wrong.
4646

4747
Screenshots from the latest version using included themes:
48-
<img src="res/docs/Theme3.5Inch.jpg" height="400" /> <img src="res/docs/ThemeTerminal.jpg" height="400" /> <img src="res/docs/ThemeCyberpunk.png" height="400" /> <img src="res/docs/ThemeLandscape6Grid.jpg" width="400" />
48+
<img src="res/docs/Theme3.5Inch.jpg" height="400" /> <img src="res/docs/ThemeTerminal.jpg" height="400" /> <img src="res/docs/ThemeCyberpunk.png" height="400" /> <img src="res/docs/ThemeBashDarkGreen.png" height="400" /> <img src="res/docs/ThemeLandscape6Grid.jpg" width="400" />
4949

5050
### [> Themes creation/edition](https://github.com/mathoudebine/turing-smart-screen-python/wiki/System-monitor-:-themes)
5151

config.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,15 @@ config:
1010
# THEME: Terminal
1111
# THEME: Landscape6Grid
1212
# THEME: Cyberpunk
13+
# THEME: bash-dark-green
1314
THEME: 3.5inchTheme2
1415

1516
# Network metrics
1617
# Put the interface name or let it blank if the card does not exist
17-
# ETH: ""
18+
# Linux/MacOS interfaces are named "eth0", "wlan0", "wlp1s0", "enp2s0"...
19+
# For Windows use the interfaces pretty name: "Ethernet 2", "Wi-Fi", ...
1820
ETH: "eth0" # Ethernet Card
19-
WLO: "wlo1" # Wi-Fi Card
21+
WLO: "wlan0" # Wi-Fi Card
2022

2123
display:
2224
# Display resolution in portrait orientation

requirements.txt

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
# Python packages requirements
2-
Pillow~=9.3.0
3-
pyserial~=3.5
4-
PyYAML~=6.0
5-
psutil~=5.9.2
6-
GPUtil~=1.4.0
2+
Pillow~=9.2.0 # Image generation
3+
pyserial~=3.5 # Serial linl to communicate with the display
4+
PyYAML~=6.0 # For themes files
5+
psutil~=5.9.2 # CPU / disk / network metrics
6+
GPUtil~=1.4.0 # Nvidia GPU
7+
78
# Following packages are for AMD GPU on Linux
89
# Note: you may need to manually install Cython first
910
Cython~=0.29.32; sys_platform=="linux"
1011
pyamdgpuinfo~=2.1.3; sys_platform=="linux"
12+
1113
# Following packages are for AMD GPU on Windows
1214
pyadl~=0.1; sys_platform=="win32"

res/docs/ThemeBashDarkGreen.png

137 KB
Loading

0 commit comments

Comments
 (0)