Skip to content

Instantly share code, notes, and snippets.

#!/bin/sh
INTERVAL=1
cputemp() {
PTZ00=`cat /proc/acpi/thermal_zone/TZ00/temperature | sed s/[^[:digit:]]//g`
# PTZ01=`cat /proc/acpi/thermal_zone/TZ01/temperature | sed s/[^[:digit:]]//g`
echo "^fg(white)^i(/home/muspellsson/.i3/temp.xbm)^fg() ^fg(green)$PTZ00°C^fg()"
}