Replace killall with pkill

This commit is contained in:
Sravan Balaji
2024-03-30 21:09:41 -04:00
parent 2fc6acd399
commit 3d8e77d2e2
2 changed files with 2 additions and 2 deletions

View File

@@ -1583,7 +1583,7 @@ NUM_MONITORS=0
CONNECTED_MONITORS=$(xrandr --query | grep " connected" | cut -d" " -f1)
TRAY_POS="right"
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="right"
killall -q polybar
pkill polybar
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
rm /tmp/polybar.pids