Skip to content
Sketch edited this page Oct 12, 2012 · 1 revision
#!/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
Clone this wiki locally