Implement resize submap

This commit is contained in:
2025-02-27 01:05:00 -06:00
parent 90ef8c3271
commit 4efd4c3625
3 changed files with 28 additions and 2 deletions

View File

@@ -79,6 +79,19 @@ bind = $mainMod SHIFT, MINUS, movetoworkspace, 11
bind = $mainMod, Period, workspace, e+1
bind = $mainMod, Comma, workspace, e-1
# Resize
# Move windows around
bindm = $mainMod, mouse:272, movewindow
# Resize mouse binding and submap
bindm = $mainMod, mouse:273, resizewindow
bind = $mainMod SHIFT, R, submap, resize
submap = resize
$resizeFactor = 50
bind = , l, resizeactive, $resizeFactor 0
bind = , h, resizeactive, -$resizeFactor 0
bind = , k, resizeactive, 0 -$resizeFactor
bind = , j, resizeactive, 0 $resizeFactor
bind = , Return, submap, reset
bind = , Escape, submap, reset
bind = $mainMod SHIFT, R, submap, reset
submap = reset