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