muep / joonos-sysmgr

0 stars 0 forks source link

Report CPU temperature in system status #23

Open muep opened 2 years ago

muep commented 2 years ago

At least on RPi4 with Fedora 34, the temperature could be read from /sys. Using bash it would look like:

echo $(($(cat /sys/class/thermal/thermal_zone0/temp)/1000))