=> d54a743380e16133fdc5d1e4b25fa02455ea9693
[1mdiff --git a/system-status.py b/system-status.py[m [1mindex a8da57a..951eddc 100644[m [1m--- a/system-status.py[m [1m+++ b/system-status.py[m [36m@@ -20,8 +20,8 @@[m [mTEMP_COLOR = RED[m CPU_COLOR = BLUE[m NETWORK_COLOR = PINK[m [m [31m-MIN_TEMP = 40[m [31m-MAX_TEMP = 80[m [32m+[m[32mMIN_TEMP = 45[m [32m+[m[32mMAX_TEMP = 85[m [m [m class SystemStatus:[m [36m@@ -106,10 +106,10 @@[m [mclass SystemStatus:[m adjusted = max(0, temp - MIN_TEMP)[m percent = min(1, adjusted / (MAX_TEMP - MIN_TEMP))[m [m [31m- return int(self.height * percent)[m [32m+[m[32m return round(self.height * percent)[m [m def getCpuValue(self):[m [31m- return int(self.height * (psutil.cpu_percent() / 100))[m [32m+[m[32m return round(self.height * (psutil.cpu_percent() / 100))[m [m def getNetworkValue(self):[m connections = psutil.net_connections(kind='inet')[m
text/gemini; charset=utf-8
This content has been proxied by September (ba2dc).