diff options
Diffstat (limited to '')
-rwxr-xr-x | .local/bin/status/sb-cpu | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/.local/bin/status/sb-cpu b/.local/bin/status/sb-cpu index 169b24d..e85f422 100755 --- a/.local/bin/status/sb-cpu +++ b/.local/bin/status/sb-cpu @@ -22,14 +22,14 @@ case $(hostname -s) in esac case $(echo "$stats" | sed '{1,3d;s/% idle$//;s/.*[[:blank:]]//;s/\..*//;s/^/(100 - /;s/$/) \/ 12\.5/;}' | bc) in - "0") printf "[ ]\n";; - "1") printf "[= ]\n";; - "2") printf "[== ]\n";; - "3") printf "[=== ]\n";; - "4") printf "[==== ]\n";; - "5") printf "[===== ]\n";; - "6") printf "[====== ]\n";; - "7") printf "[======= ]\n";; - "8") printf "[========]\n";; + "0") printf "[ ]\n" ;; + "1") printf "[= ]\n" ;; + "2") printf "[== ]\n" ;; + "3") printf "[=== ]\n" ;; + "4") printf "[==== ]\n" ;; + "5") printf "[===== ]\n" ;; + "6") printf "[====== ]\n" ;; + "7") printf "[======= ]\n" ;; + "8") printf "[========]\n" ;; esac |