stat_temperature - robm/dzen GitHub Wiki
#!/bin/sh
# A temperature script that works on MY computer, and probably not on yours.
TEMP=/sys/bus/acpi/devices/LNXTHERM\:00/thermal_zone/temp
while true; do
awk '{printf("^fg()^i(icons/temp.xbm)%sC^fg()\n",$1/1000)}' $TEMP
sleep 4
done