polybar: no need to keep the shell waiting, systemd can do it

This commit is contained in:
Vincent Bernat 2021-07-17 11:09:04 +02:00
parent 1db91fb0eb
commit 764dc010b6
2 changed files with 2 additions and 2 deletions

View file

@ -9,7 +9,7 @@ PRIMARY=${PRIMARY:-${MONITORS%% *}}
case $(echo $MONITORS | wc -w) in
1)
MONITOR=$PRIMARY exec polybar --reload alone
MONITOR=$PRIMARY polybar --reload alone &
;;
*)
MONITOR=$PRIMARY polybar --reload primary &
@ -19,4 +19,3 @@ case $(echo $MONITORS | wc -w) in
done
;;
esac
wait