Replace killall with pkill
This commit is contained in:
parent
92cff92b6b
commit
b0eb54e8cd
@ -7133,7 +7133,7 @@ NUM_MONITORS=0
|
||||
CONNECTED_MONITORS=$(xrandr --query | grep " connected" | cut -d" " -f1)
|
||||
TRAY_POS="center"
|
||||
|
||||
killall -q polybar
|
||||
pkill polybar
|
||||
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
|
||||
|
||||
rm /tmp/polybar.pids
|
||||
|
@ -5,7 +5,7 @@ NUM_MONITORS=0
|
||||
CONNECTED_MONITORS=$(xrandr --query | grep " connected" | cut -d" " -f1)
|
||||
TRAY_POS="center"
|
||||
|
||||
killall -q polybar
|
||||
pkill polybar
|
||||
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
|
||||
|
||||
rm /tmp/polybar.pids
|
||||
|
Loading…
x
Reference in New Issue
Block a user