From cb294d55b9046df79124964cc16c57cb0abb4315 Mon Sep 17 00:00:00 2001 From: Stefan Junker Date: Sat, 15 Jul 2023 21:23:02 +0200 Subject: [PATCH] feat(sway): add kill -9 keybinding --- nix/home-manager/profiles/sway-desktop.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nix/home-manager/profiles/sway-desktop.nix b/nix/home-manager/profiles/sway-desktop.nix index 0f2d9d0..9640e4a 100644 --- a/nix/home-manager/profiles/sway-desktop.nix +++ b/nix/home-manager/profiles/sway-desktop.nix @@ -129,6 +129,8 @@ in { "${modifier}+Shift+e" = "exec ${pkgs.sway}/bin/swaymsg exit"; "${modifier}+q" = "kill"; + "${modifier}+Shift+q" = "exec ${pkgs.sway}/bin/swaymsg -t get_tree | ${pkgs.jq}/bin/jq 'recurse(.nodes[], .floating_nodes[]) | select(.focused).pid' | ${pkgs.findutils}/bin/xargs -L1 kill -9"; + "${modifier}+x" = "exec ${swapOutputWorkspaces}"; "${modifier}+Ctrl+l" = "exec ${lockCmd}";