commit d81d9b17bea91080728b75a13f3af010d42b747e
parent 20999773151748e345c97497999e3be365e2df5b
Author: Cem Keylan <cem@ckyln.com>
Date: Wed, 12 Feb 2020 15:29:55 +0300
clear terminal screen before executing bar
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sb b/sb
@@ -51,4 +51,4 @@ for func in "$HOME/.config/sb-func/"* ; do [ -f "$func" ] && . "$func" ; done
command -v bar >/dev/null 2>&1 || bar() { storage ; ram ; gethostname ; datetime ;}
[ -z "$nobar" ] && while true; do xsetroot -name " $(bar)"; sleep "$SLEEPTIME"; done && exit 0
-while true; do bar; sleep "$SLEEPTIME"; clear; done
+while true; do clear ; bar; sleep "$SLEEPTIME"; done