diff --git a/.scripts/refresh-waybar-pkg-update-count.hook b/.scripts/refresh-waybar-pkg-update-count.hook index 78da4fa..e001b84 100644 --- a/.scripts/refresh-waybar-pkg-update-count.hook +++ b/.scripts/refresh-waybar-pkg-update-count.hook @@ -7,4 +7,4 @@ Target = * [Action] When = PostTransaction -Exec = /bin/pkill -SIGRTMIN+3 -u 1000 waybar +Exec = /bin/sh -c '! /bin/pgrep -u 1000 waybar || /bin/pkill -SIGRTMIN+3 -u 1000 waybar'