Skip to content

Instantly share code, notes, and snippets.

View muspellsson's full-sized avatar

Ivan Sukin muspellsson

  • Russia, Pereslavl-Zalessky
View GitHub Profile
#!/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()"
}