diff options
-rwxr-xr-x | i3blocks/i3cpu.sh | 2 | ||||
-rwxr-xr-x | wifiDown.sh | 2 |
2 files changed, 2 insertions, 2 deletions
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 diff --git a/wifiDown.sh b/wifiDown.sh index d8b22d9..5d0b316 100755 --- a/wifiDown.sh +++ b/wifiDown.sh @@ -1,2 +1,2 @@ #!/bin/bash -sudo ifconfig wlp2s0 down +nmcli radio wifi off |