aboutsummaryrefslogtreecommitdiff
path: root/.config/lemonblocks/modules/cpu_temp.sh
blob: a5286add63f0a3e2758554885ef496a5d33cb022 (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 "