From 4e323d932f69c5ccdc3774f0484f4e754b74eea4 Mon Sep 17 00:00:00 2001 From: Janis Hutz Date: Mon, 15 Sep 2025 09:20:29 +0200 Subject: [PATCH] [Hyprland] Update binds --- config/hypr/hyprland/binds.conf | 67 ++++++++++++++++++++++----------- 1 file changed, 45 insertions(+), 22 deletions(-) diff --git a/config/hypr/hyprland/binds.conf b/config/hypr/hyprland/binds.conf index 46f6ee8..cda1e9e 100644 --- a/config/hypr/hyprland/binds.conf +++ b/config/hypr/hyprland/binds.conf @@ -81,14 +81,6 @@ bind = $mainMod, escape, exec, wlogout # ──────────────────────────────────────────────────────────────────── -# ┌ ┐ -# │ 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 - # ┌ ┐ # │ Same with vim-motions │ # └ ┘ @@ -144,13 +136,6 @@ bind = $mainMod, mouse_down, workspace, e+1 bind = $mainMod, mouse_up, workspace, e-1 -# ┌ ┐ -# │ Tile window to a part of the screen │ -# └ ┘ -# bind = $mainMod CTRL, left, movewindow, left -# bind = $mainMod CTRL, right, movewindow, right - - # ┌ ┐ # │ move to next window / previous window with │ # │ ALT + Tab / SHIFT + ALT + Tab │ @@ -160,12 +145,9 @@ bind = ALT, tab, focusurgentorlast # ┌ ┐ -# │ Master layout commands │ +# │ Dwindle layout commands │ # └ ┘ -bind = $mainMod CTRL, M, layoutmsg, swapwithmaster -bind = $mainMod SHIFT, A, layoutmsg, addmaster -bind = $mainMod SHIFT CTRL, right, layoutmsg, orientationnext -bind = $mainMod SHIFT CTRL, left, layoutmsg, orientationprev +bind = $mainMod CTRL, M, layoutmsg swapsplit # ┌ ┐ @@ -175,12 +157,39 @@ bind = $mainMod SHIFT CTRL, left, layoutmsg, orientationprev bindm = $mainMod, mouse:272, movewindow bindm = $mainMod, mouse:273, resizewindow + # ┌ ┐ # │ Resize window with keybinds (change split) │ # └ ┘ -bind = $mainMod CTRL ALT, H, splitratio, -0.01 -bind = $mainMod CTRL ALT, L, splitratio, +0.01 +bind = $mainMod, ALT, T, split +# Submap for split +submap = split +binde = , H, splitratio, -0.01 +binde = , L, splitratio, +0.01 + +# Reset bind +bind = , escape, submap, reset + +submap = reset + + +# ┌ ┐ +# │ Truly resize window with keybind (submap) │ +# └ ┘ +bind = $mainMod, ALT, R, resize + +# Submap for resize +submap = resize +binde = , L, resizeactive, 10 0 +binde = , H, resizeactive, -10 0 +binde = , K, resizeactive, 0 -10 +binde = , J, resizeactive, 0 10 + +# Reset bind +bind = , escape, submap, reset + +submap = reset # ┌ ┐ # │ Freeze │ @@ -208,3 +217,17 @@ bind = ,code:233, exec, light -A 5 # └ ┘ bind = $mainMod CTRL, D, exec, hyprctl keyword monitor HDMI-A-1, 1280x720@60, 1920x0, 1, mirror, DP-1 && notify-send 'Set FPV goggles to mirror main screen' --app-name="Hyprctl" bind = $mainMod CTRL, E, exec, hyprctl keyword monitor HDMI-A-1, 1280x720@60, 3840x0, 1 && notify-send 'Set to expand FPV goggles' --app-name="Hyprctl" + + + +# ──────────────────────────────────────────────────────────────────── +# ╭────────────────────────────────────────────────╮ +# │ Funny windows user trolling binds │ +# ╰────────────────────────────────────────────────╯ +# ──────────────────────────────────────────────────────────────────── +bind = CTRL ALT, Delete, exec, notify-send 'Did ya really think that was gonna do anything? Only an eternally broken OS could need such a stupid keybind' +bind = ALT, F4, exec, notify-send 'That just feel super unergonomic of a keybind to be used for such a common action' +bind = $mainMod, left, exec, notify-send 'This is no inefficient stacking manager. Tiling happens automatically' +bind = $mainMod, right, exec, notify-send 'This is no inefficient stacking manager. Tiling happens automatically' +bind = $mainMod, up, exec, notify-send 'This is no inefficient stacking manager. Tiling happens automatically' +bind = $mainMod, down, exec, notify-send 'This is no inefficient stacking manager. Tiling happens automatically'