diff --git a/scripts/speedwm-stellar b/scripts/speedwm-stellar index 10c74e0..ae791b2 100755 --- a/scripts/speedwm-stellar +++ b/scripts/speedwm-stellar @@ -558,15 +558,14 @@ ptext() { # base base() { - ptext - sleep $REFRESHDELAY - base + while true; do + ptext + sleep $REFRESHDELAY + done } setloading - setcolors2d -ptext base printf "$0: Stopped printing." diff --git a/scripts/speedwm_status b/scripts/speedwm_status index 39a6bee..baead61 100755 --- a/scripts/speedwm_status +++ b/scripts/speedwm_status @@ -8,21 +8,6 @@ LOADTEXT="Loading" # load text mkdir -p $HOME/.config/speedwm/ -case "$1" in - "-h") - echo "speedwm_status - stellar launcher" - echo "" - echo "-r Restart stellar" - echo "No arguments Run stellar" - echo "" - echo "See speedwm-help for more information." - exit 0 - ;; - "-r") - pkill "$STATUSBAR" ; sleep 2 ; statusfunc - ;; -esac - # run status rstatus() { while true; do @@ -50,4 +35,22 @@ statusfunc() { statusfunc } +case "$1" in + "-h") + echo "speedwm_status - stellar launcher" + echo "" + echo "-s Stop stellar" + echo "-r Restart stellar" + echo "No arguments Run stellar" + echo "" + echo "See speedwm-help for more information." + exit 0 + ;; + "-r") + pkill "$STATUSBAR" ; sleep 2 ; statusfunc + ;; + "-s") pkill "$STATUSBAR" + ;; +esac + statusfunc