summaryrefslogtreecommitdiff
path: root/.local/bin/cpu
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/cpu')
-rwxr-xr-x.local/bin/cpu2
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/cpu b/.local/bin/cpu
index 6f5da6d..3533938 100755
--- a/.local/bin/cpu
+++ b/.local/bin/cpu
@@ -9,4 +9,4 @@ case $BLOCK_BUTTON in
6) "$TERMINAL" -e "$EDITOR" "$0" ;;
esac
-sensors | awk '/temp1:/ {print "[ " $3 "]"}'
+sensors | awk '/temp1:/ {print "[ " $2 "]"}' | tail -n1