diff --git a/homeManagerModules/desktop/sway/default.nix b/homeManagerModules/desktop/sway/default.nix index 50a00c9c..fb3ffc53 100644 --- a/homeManagerModules/desktop/sway/default.nix +++ b/homeManagerModules/desktop/sway/default.nix @@ -229,6 +229,12 @@ "${modifier}+Shift+Up" = "move up"; "${modifier}+Shift+Right" = "move right"; + # Move window with modifier SHIFT + hjkl keys + "${modifier}+Shift+H" = "move left"; + "${modifier}+Shift+J" = "move down"; + "${modifier}+Shift+K" = "move up"; + "${modifier}+Shift+L" = "move right"; + # Gnome-like workspaces. "${modifier}+Comma" = "workspace prev"; "${modifier}+Period" = "workspace next"; @@ -265,6 +271,12 @@ "${modifier}+Control+Shift+Up" = "move workspace to output up"; "${modifier}+Control+Shift+Right" = "move workspace to output right"; + # Move workspace to another output. + "${modifier}+Control+Shift+H" = "move workspace to output left"; + "${modifier}+Control+Shift+J" = "move workspace to output down"; + "${modifier}+Control+Shift+K" = "move workspace to output up"; + "${modifier}+Control+Shift+L" = "move workspace to output right"; + # Scratchpad show and move "${modifier}+S" = "scratchpad show"; "${modifier}+Shift+S" = "move scratchpad";