1
0
mirror of https://github.com/aquatix/dotfiles.git synced 2025-12-06 22:55:10 +01:00

20140316: update for new hardware

This commit is contained in:
Michiel Scholten
2015-01-22 09:24:17 +01:00
parent 33aa30c60f
commit eee60169b1

View File

@@ -3,7 +3,7 @@
SENSORDATA=$(sensors 2>&1)
TEMPERATURE="$(grep -i 'temp1' <<< "${SENSORDATA}" | \
TEMPERATURE="$(grep -i 'Core 0' <<< "${SENSORDATA}" | \
grep -Eo '[0-9\.]+[[:punct:]]?[ ]?[CF]+' | head -n 1 | \
sed 's/.\([CF]\)/\1/' | sed 's/C//' )"