From ab01192de514694aea5384c2ab16f68a0b3dcd36 Mon Sep 17 00:00:00 2001 From: genofire Date: Mon, 11 Oct 2021 12:12:41 +0200 Subject: [PATCH] home: sway fix keybindings for window --- home/sway.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/home/sway.nix b/home/sway.nix index 0d3d23a..37253f9 100644 --- a/home/sway.nix +++ b/home/sway.nix @@ -188,6 +188,25 @@ "${modifier}+r" = "mode resize"; + # window + "${modifier}+Left" = "focus left"; + "${modifier}+Down" = "focus down"; + "${modifier}+Up" = "focus up"; + "${modifier}+Right" = "focus right"; + "${modifier}+j" = "focus left"; + "${modifier}+k" = "focus down"; + "${modifier}+l" = "focus up"; + "${modifier}+odiaeresis" = "focus right"; + + "${modifier}+Shift+Left" = "move left"; + "${modifier}+Shift+Down" = "move down"; + "${modifier}+Shift+Up" = "move up"; + "${modifier}+Shift+Right" = "move right"; + "${modifier}+Shift+j" = "move left"; + "${modifier}+Shift+k" = "move down"; + "${modifier}+Shift+l" = "move up"; + "${modifier}+Shift+odiaeresis" = "move right"; + # workspace "${modifier}+1" = "workspace number ${ws1}"; "${modifier}+2" = "workspace number ${ws2}";