discord and thermal (pi specific) added, discord needs config setup.
This commit is contained in:
Executable
+6
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
name=$(</sys/class/thermal/thermal_zone0/type)
|
||||
temp=$(</sys/class/thermal/thermal_zone0/temp)
|
||||
echo "${name} $((temp/1000)).$((temp%1000))c"
|
||||
|
||||
Reference in New Issue
Block a user