discord and thermal (pi specific) added, discord needs config setup.

This commit is contained in:
2020-04-16 19:46:53 +00:00
parent e90da400c7
commit 60b8c70f3f
4 changed files with 37 additions and 0 deletions
Executable
+6
View File
@@ -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"