nwg-wrapper: pkill only help.sh
This commit is contained in:
parent
8f24ae2946
commit
ddb15dba49
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue