reordered and changed mouse rules

This commit is contained in:
2026-03-08 12:51:51 +00:00
parent 25b84cac39
commit eda56f732e

View File

@@ -17,6 +17,7 @@ binds {
scroll_event_delay = 0
}
bindm = $submod, mouse:272, movewindow
bindr = $submod, mouse:272, layoutmsg, promote
bindc = $submod, mouse:272, togglefloating
# Resize floating window with scrollwheels
@@ -35,13 +36,6 @@ bind = $mainMod, l, movefocus, r
bind = $mainMod, k, movefocus, u
bind = $mainMod, j, movefocus, d
# Move/Switch to special workspace (scratchpad)
bind = $mainMod, MINUS, togglespecialworkspace, scratch
bind = $mainMod SHIFT, MINUS, movetoworkspacesilent, special:scratch
# Music workspace
bind = $mainMod, m, togglespecialworkspace, music
# Resize floating windows with keyboard
bind = $submod ctrl, h, resizeactive, -50 0
bind = $submod ctrl, l, resizeactive, 50 0
@@ -54,4 +48,11 @@ bind = $mainMod SHIFT, L, swapwindow, r
bind = $mainMod SHIFT, K, swapwindow, u
bind = $mainMod SHIFT, J, swapwindow, d
# Move/Switch to special workspace (scratchpad)
bind = $mainMod, MINUS, togglespecialworkspace, scratch
bind = $mainMod SHIFT, MINUS, movetoworkspacesilent, special:scratch
# Music workspace
bind = $mainMod, m, togglespecialworkspace, music
source = ~/.config/hypr/binds-local.conf