From c96d06bf438f16d78f2af5807191fa7bd0003c3a Mon Sep 17 00:00:00 2001 From: InigoGutierrez Date: Sun, 10 Mar 2019 16:48:54 +0100 Subject: Changed wifi down script and fixed cpu temp info script. --- i3blocks/i3cpu.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'i3blocks') diff --git a/i3blocks/i3cpu.sh b/i3blocks/i3cpu.sh index 7c8c8c9..02e8159 100755 --- a/i3blocks/i3cpu.sh +++ b/i3blocks/i3cpu.sh @@ -5,7 +5,7 @@ case $BLOCK_BUTTON in $(ps axch -o cmd:18,%cpu --sort=-%cpu | sed 10q)" ;; esac -temp=$(sensors | awk '/temp1:/ {print $2}' | sed 's/+//' | sed 's/\..*//') +temp=$(sensors | awk '/Package id/ {print $4}' | sed 's/+//' | sed 's/\..*//') warn="" if [ "$temp" -lt 25 ]; then -- cgit v1.2.1