diff options
author | InigoGutierrez <inigogf.95@gmail.com> | 2019-03-10 16:48:54 +0100 |
---|---|---|
committer | InigoGutierrez <inigogf.95@gmail.com> | 2019-03-10 16:48:54 +0100 |
commit | c96d06bf438f16d78f2af5807191fa7bd0003c3a (patch) | |
tree | 2671a12cada5eae15b14a938161ebb039651bbe0 /i3blocks | |
parent | 994f36babe776ebbd5bd60e90328ca3da771ec1d (diff) | |
download | scripts-c96d06bf438f16d78f2af5807191fa7bd0003c3a.tar.gz scripts-c96d06bf438f16d78f2af5807191fa7bd0003c3a.zip |
Changed wifi down script and fixed cpu temp info script.
Diffstat (limited to 'i3blocks')
-rwxr-xr-x | i3blocks/i3cpu.sh | 2 |
1 files changed, 1 insertions, 1 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 |