From ddb15dba498941e73673cb8763791ed188c98688 Mon Sep 17 00:00:00 2001 From: Sunderland93 Date: Sat, 24 Aug 2024 22:18:32 +0400 Subject: [PATCH] nwg-wrapper: pkill only help.sh --- usr/share/sway/scripts/help.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/share/sway/scripts/help.sh b/usr/share/sway/scripts/help.sh index aca69ad..a417841 100755 --- a/usr/share/sway/scripts/help.sh +++ b/usr/share/sway/scripts/help.sh @@ -6,9 +6,9 @@ VISIBILITY_SIGNAL=30 QUIT_SIGNAL=31 if [ "$1" = "--toggle" ]; then - pkill -f -${VISIBILITY_SIGNAL} nwg-wrapper + pkill -f -${VISIBILITY_SIGNAL} 'nwg-wrapper.*-s help.sh' else - pkill -f -${QUIT_SIGNAL} nwg-wrapper + pkill -f -${QUIT_SIGNAL} 'nwg-wrapper.*-s help.sh' for output in $(swaymsg -t get_outputs --raw | jq -r '.[].name'); do nwg-wrapper -o "$output" -i -sv ${VISIBILITY_SIGNAL} -sq ${QUIT_SIGNAL} -s help.sh -p left -a end & done