diff --git a/modules/themes/alucard/config/polybar/run.sh b/modules/themes/alucard/config/polybar/run.sh index cb4b37e0..6b4536c9 100644 --- a/modules/themes/alucard/config/polybar/run.sh +++ b/modules/themes/alucard/config/polybar/run.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -killall -q polybar +pkill -u $UID -x polybar while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done polybar main >$XDG_DATA_HOME/polybar.log 2>&1 &