Replace killall with pkill

This commit is contained in:
Sravan Balaji 2024-03-30 21:10:50 -04:00
parent 92cff92b6b
commit b0eb54e8cd
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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