From 847c4012b8e6aa044e0fa695b50e75166e9c70a5 Mon Sep 17 00:00:00 2001 From: Mathias Schneider Date: Fri, 3 Apr 2026 08:27:35 +0200 Subject: [PATCH] some useful Hyprland keybinds --- hypr/.config/hypr/hyprland.conf | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/hypr/.config/hypr/hyprland.conf b/hypr/.config/hypr/hyprland.conf index eb6c5f9..eb484b0 100755 --- a/hypr/.config/hypr/hyprland.conf +++ b/hypr/.config/hypr/hyprland.conf @@ -296,15 +296,21 @@ bind = $mainMod, P, pseudo, # dwindle bind = $mainMod, J, togglesplit, # dwindle bind = $mainMod, I, exec, firefox & -# Move focus with mainMod + arrow keys -bind = $mainMod, left, movefocus, l -bind = $mainMod, right, movefocus, r -bind = $mainMod, up, movefocus, u -bind = $mainMod, down, movefocus, d +# Move focus with mainMod + WASD or Vim-style bind = $mainMod, a, movefocus, l bind = $mainMod, d, movefocus, r bind = $mainMod, w, movefocus, u bind = $mainMod, s, movefocus, d +bind = $mainMod, h, movefocus, l +bind = $mainMod, l, movefocus, r +bind = $mainMod, k, movefocus, u +bind = $mainMod, j, movefocus, d + +# Resize focused window with mainMod + Arrows +bind = $mainMod, left, resizeactive, -10 0 +bind = $mainMod, right, resizeactive, 10 0 +bind = $mainMod, up, resizeactive, 0 -10 +bind = $mainMod, down, resizeactive, 0 10 # Switch workspaces with mainMod + [0-9] bind = $mainMod, 1, workspace, 1 @@ -337,9 +343,9 @@ bind = $mainMod SHIFT, 0, movetoworkspace, 10 # bind = $mainMod, S, togglespecialworkspace, magic # bind = $mainMod SHIFT, S, movetoworkspace, special:magic -# # Scroll through existing workspaces with mainMod + scroll -# bind = $mainMod, mouse_down, workspace, e+1 -# bind = $mainMod, mouse_up, workspace, e-1 +# Scroll through existing workspaces with mainMod + scroll +bind = $mainMod, mouse_down, workspace, e+1 +bind = $mainMod, mouse_up, workspace, e-1 # Move/resize windows with mainMod + LMB/RMB and dragging bindm = $mainMod, mouse:272, movewindow @@ -366,7 +372,7 @@ bindl = LCTRL, PRINT, exec, hyprshot -m window --output-folder $screenshot_folde bindl = SHIFT, PRINT, exec, hyprshot -m active --output-folder $screenshot_folder # Screenlock -bindl = $mainMod, L, exec, hyprlock +bindl = LCTRL ALT, L, exec, hyprlock ############################## ### WINDOWS AND WORKSPACES ###