refactor: change window resizing keybinds

This commit is contained in:
stitchy 2024-12-25 12:38:18 +00:00
parent 8fd1741c7f
commit 205575056c
Signed by: stitchy
SSH key fingerprint: SHA256:yz2SoxdnY67tfY5Jzb0f2v8f5W3o/IF359kbcquWip8

View file

@ -99,24 +99,16 @@ bind=ALTSHIFT,8,movetoworkspace,8
bind=ALTSHIFT,9,movetoworkspace,9
bind=ALTSHIFT,10,movetoworkspace,0
# Submap for resizing windows
bind=ALT,R,submap,resize # will switch to a submap called resize
## Resizing Windows ##
binde=SUPER,L,resizeactive,10 0
binde=SUPER,H,resizeactive,-10 0
binde=SUPER,K,resizeactive,0 -10
binde=SUPER,J,resizeactive,0 10
submap=resize # will start a submap called "resize"
binde=,L,resizeactive,10 0
binde=,H,resizeactive,-10 0
binde=,K,resizeactive,0 -10
binde=,J,resizeactive,0 10
binde=SHIFT,L,resizeactive,50 0
binde=SHIFT,H,resizeactive,-50 0
binde=SHIFT,K,resizeactive,0 -50
binde=SHIFT,J,resizeactive,0 50
bind=ALT,R,submap,reset # use reset to go back to the global submap
submap=reset # will reset the submap, meaning end the current one and return to the global one.
binde=SUPERSHIFT,L,resizeactive,50 0
binde=SUPERSHIFT,H,resizeactive,-50 0
binde=SUPERSHIFT,K,resizeactive,0 -50
binde=SUPERSHIFT,J,resizeactive,0 50
# Submap to disable all keybinds (for blender)
bind=ALT,U,submap,clean