mirror of
https://github.com/aquatix/dotfiles.git
synced 2025-12-07 00:05:10 +01:00
20140316: update for new hardware
This commit is contained in:
@@ -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//' )"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user