GenMon: CPU temperature Script
Another script I'm using with Generic Monitor on the XFCE Panel.
This one prints the CPU temperature, but also disables any sort of output when you do a mouse over.
#!/bin/bash
cat /sys/class/thermal/thermal_zone0/temp > /tmp/cpu_temp
echo """ | "$((`cat /tmp/cpu_temp`/1000))"°"" "
echo """ "
## EoF ##
This one prints the CPU temperature, but also disables any sort of output when you do a mouse over.
#!/bin/bash
cat /sys/class/thermal/thermal_zone0/temp > /tmp/cpu_temp
echo "
echo "
## EoF ##
Labels: Debian, Debian Buster, GenMon Plugin, hardware, links, Linux, Scripts, Thinkpad X220i, XFCE
0 Comments:
Post a Comment
<< Home