From 5a585f9f9787c3b29315bc6d6d5ca17b7c6a2556 Mon Sep 17 00:00:00 2001 From: Amolith Date: Wed, 24 Apr 2024 17:40:28 -0400 Subject: [PATCH] shift focus and move windows --- dot_config/hypr/hyprland.conf.tmpl | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/dot_config/hypr/hyprland.conf.tmpl b/dot_config/hypr/hyprland.conf.tmpl index bc0ec0137c952996f454c185d8e4f3c1b7b1d1d6..33c316f36440717fb623f4112068f9d2097913ee 100644 --- a/dot_config/hypr/hyprland.conf.tmpl +++ b/dot_config/hypr/hyprland.conf.tmpl @@ -205,11 +205,17 @@ bind = $mod CTRL , N, exec, dunstctl context bind = $mod SHIFT, g, togglegroup bind = $mod , g, changegroupactive -# Move focus with mod + arrow keys -bind = $mod, left , movefocus, h -bind = $mod, right, movefocus, l -bind = $mod, up , movefocus, k -bind = $mod, down , movefocus, j +# Move focus with mod + Vim keys +bind = $mod, h, movefocus, l +bind = $mod, l, movefocus, r +bind = $mod, j, movefocus, d +bind = $mod, k, movefocus, u + +# Move active with mod + Vim keys +bind = $mod SHIFT, h, moveactive, l +bind = $mod SHIFT, l, moveactive, r +bind = $mod SHIFT, j, moveactive, d +bind = $mod SHIFT, k, moveactive, u # Switch workspaces with mod + [0-9] bind = $mod, 1, workspace, 1