From 5ee8a8aeca72a94e109ef9ef4aefe34eadce67bb Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Tue, 17 Dec 2024 10:09:03 +0300 Subject: [PATCH] Swayscript: Disable sound for scratchpad_kill. --- package/swayscript/script/Scratchpad.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/swayscript/script/Scratchpad.nix b/package/swayscript/script/Scratchpad.nix index b3e9c45b..fc758734 100644 --- a/package/swayscript/script/Scratchpad.nix +++ b/package/swayscript/script/Scratchpad.nix @@ -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