From bff853aaba9efb624c07dc5a7d3ec8407ed1b02a Mon Sep 17 00:00:00 2001 From: Alexander Bantyev Date: Tue, 7 Feb 2023 18:03:27 +0400 Subject: [PATCH] Kill windows with just a MMB click --- profiles/workspace/sway/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/profiles/workspace/sway/default.nix b/profiles/workspace/sway/default.nix index 6b53530..033a434 100755 --- a/profiles/workspace/sway/default.nix +++ b/profiles/workspace/sway/default.nix @@ -250,6 +250,8 @@ in { "XF86AudioLowerVolume" = "exec ${pkgs.pamixer}/bin/pamixer -d 2"; "XF86AudioRaiseVolume" = "exec ${pkgs.pamixer}/bin/pamixer -i 2"; "XF86AudioMute" = "exec ${pkgs.pamixer}/bin/pamixer -t"; + "button2" = "kill"; + "--whole-window button2" = "kill"; }; keycodebindings = { };