summaryrefslogtreecommitdiff
path: root/.local/bin/cpu
diff options
context:
space:
mode:
authorlucashemi <lucasxberger@gmail.com>2022-12-07 17:21:02 -0300
committerlucashemi <lucasxberger@gmail.com>2022-12-07 17:21:02 -0300
commitd58d5d7a130bf6d5e419ea1357c02b3397ff26f6 (patch)
tree5e1d1e900d3abc1d180075ca440f356764dc6aec /.local/bin/cpu
parent65858adf95cb8427532f636fe014ee317be57f9d (diff)
update
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