diff options
| author | Manuel Palenzuela <[email protected]> | 2019-06-14 09:55:20 +0200 |
|---|---|---|
| committer | Manuel Palenzuela <[email protected]> | 2019-06-14 09:55:20 +0200 |
| commit | 3bd9d1896204653a527e308b6b3de70af86320fd (patch) | |
| tree | 3215c7e7ec35a9a4773da7445d261e82be40e711 | |
| parent | Changed mfact and status script (diff) | |
| download | dwm-3bd9d1896204653a527e308b6b3de70af86320fd.tar.gz dwm-3bd9d1896204653a527e308b6b3de70af86320fd.tar.bz2 dwm-3bd9d1896204653a527e308b6b3de70af86320fd.zip | |
Formatted status script
| -rwxr-xr-x | scripts/dwm-status | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/dwm-status b/scripts/dwm-status index 972b161..b4c0f39 100755 --- a/scripts/dwm-status +++ b/scripts/dwm-status @@ -148,8 +148,8 @@ status() { \ 8[0-9]|7[0-9]) echo " $(cat $x)%" ;; 6[0-9]|5[0-9]) echo " $(cat $x)%" ;; 4[0-9]|3[0-9]) echo " $(cat $x)%" ;; - 2[0-9]|1[0-9]) echo " $(cat $x)%" ;; - [0-9]) echo " $(cat $x)%" ;; + 2[0-9]|1[0-9]) echo " $(cat $x)%" ;; + [0-9]) echo " $(cat $x)%" ;; esac done && echo "$delim" @@ -167,7 +167,6 @@ while :; do xsetroot -name "$(status | tr '\n' ' ')" checkinternet - echo $internet # Check to see if new weather report is needed. # Sleep for a minute after changing the status bar before updating it |