From 3d8e77d2e206e4c141e8d8a75d45d62d03e782eb Mon Sep 17 00:00:00 2001 From: Sravan Balaji Date: Sat, 30 Mar 2024 21:09:41 -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 5b53922..b2a227b 100644 --- a/README.org +++ b/README.org @@ -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 diff --git a/polybar/launch.sh b/polybar/launch.sh index dd691bc..3d3191d 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="right" -killall -q polybar +pkill polybar while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done rm /tmp/polybar.pids