From 3bd9d1896204653a527e308b6b3de70af86320fd Mon Sep 17 00:00:00 2001 From: Manuel Palenzuela Date: Fri, 14 Jun 2019 09:55:20 +0200 Subject: Formatted status script --- scripts/dwm-status | 5 ++--- 1 file 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 -- cgit 1.4.1