Swayscript: Disable sound for scratchpad_kill.
This commit is contained in:
parent
6c998e51a5
commit
5ee8a8aeca
|
@ -2,7 +2,7 @@
|
|||
text = ''
|
||||
# Kill all windows in Sway scratchpad.
|
||||
function scratchpad_kill() {
|
||||
notify_short
|
||||
# notify_short
|
||||
kill() {
|
||||
for window in $(swaymsg -t get_tree | jq -r 'recurse(.nodes[]?) | select(.name == "__i3_scratch").floating_nodes[].id'); do
|
||||
swaymsg [ con_id="$window" ] kill
|
||||
|
|
Loading…
Reference in a new issue