From b0eb54e8cdaa7c979e0523ce742d6897f77232ba Mon Sep 17 00:00:00 2001 From: Sravan Balaji Date: Sat, 30 Mar 2024 21:10:50 -0400 Subject: [PATCH] Replace killall with pkill --- README.org | 2 +- polybar/launch.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.org b/README.org index 949c63a..43bc7dd 100644 --- a/README.org +++ b/README.org @@ -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 diff --git a/polybar/launch.sh b/polybar/launch.sh index 9bee9dd..4968693 100755 --- a/polybar/launch.sh +++ b/polybar/launch.sh @@ -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