add resize mode binds to hyprland

This commit is contained in:
2025-03-17 22:15:11 +01:00
parent 66bea80245
commit 4d5cac1668

View File

@@ -50,7 +50,6 @@ bind = $mainMod, 8, workspace, 8
bind = $mainMod, 9, workspace, 9
bind = $mainMod, 0, workspace, 10
#############
### Moving Windows TO Workspaces
#############
@@ -67,7 +66,28 @@ bind = $mainMod SHIFT, 8, movetoworkspace, 8
bind = $mainMod SHIFT, 9, movetoworkspace, 9
bind = $mainMod SHIFT, 0, movetoworkspace, 10
#############
### Resizing with the Keyboard
#############
# switch to submap called resize
bind = ALT, R, submap, resize
# start submap called "resize"
submap = resize
# sets repeatable binds for resizing active window
binde = , right, resizeactive, 10 0
binde = , left, resizeactive, -10 0
binde = , up, resizeactive, 0 -10
binde = , down, resizeactive, 0 10
# use reset to go back to global submap
bind = , escape, submap, reset
bind = , return, submap, reset
# reset the submap, therefore returning to global submap
submap = reset
#############
### Layouts, Groups and Tabs