aboutsummaryrefslogtreecommitdiff
path: root/lemonblocks/modules/cpu_temp.sh
blob: c4a2ca6ca613ca8d93b56e8f1f53c65a2228ed60 (plain)
1
2
3
4
5
#!/bin/bash
CEL=$'\xc2\xb0C'
temp=$( cat /sys/devices/virtual/thermal/thermal_zone0/temp )
temp=`expr $temp / 1000`
printf " TEMP:$temp$CEL ""