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}";