Thursday, October 17, 2019

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 ##

Labels: , , , , , , , ,

0 Comments:

Post a Comment

<< Home