81 lines
2.8 KiB
Text
81 lines
2.8 KiB
Text
|
|
# Move focus with mainMod + arrow keys
|
|
bind = $mainMod, LEFT, movefocus, l
|
|
bind = $mainMod, DOWN, movefocus, d
|
|
bind = $mainMod, UP, movefocus, u
|
|
bind = $mainMod, RIGHT, movefocus, r
|
|
bind = $mainMod, H, movefocus, l
|
|
bind = $mainMod, J, movefocus, d
|
|
bind = $mainMod, K, movefocus, u
|
|
bind = $mainMod, L, movefocus, r
|
|
|
|
# Move windows
|
|
bind = $mainMod SHIFT, LEFT, movewindow, l
|
|
bind = $mainMod SHIFT, DOWN, movewindow, d
|
|
bind = $mainMod SHIFT, UP, movewindow, u
|
|
bind = $mainMod SHIFT, RIGHT, movewindow, r
|
|
bind = $mainMod SHIFT, H, movewindow, l
|
|
bind = $mainMod SHIFT, J, movewindow, d
|
|
bind = $mainMod SHIFT, K, movewindow, u
|
|
bind = $mainMod SHIFT, L, movewindow, r
|
|
|
|
# Switch workspaces with mainMod + [0-9]
|
|
bind = $mainMod, 1, workspace, 1
|
|
bind = $mainMod, 2, workspace, 2
|
|
bind = $mainMod, 3, workspace, 3
|
|
bind = $mainMod, 4, workspace, 4
|
|
bind = $mainMod, 5, workspace, 5
|
|
bind = $mainMod, 6, workspace, 6
|
|
bind = $mainMod, 7, workspace, 7
|
|
bind = $mainMod, 8, workspace, 8
|
|
bind = $mainMod, 9, workspace, 9
|
|
bind = $mainMod, 0, workspace, 10
|
|
|
|
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
|
bind = $mainMod SHIFT, 1, movetoworkspacesilent, 1
|
|
bind = $mainMod SHIFT, 2, movetoworkspacesilent, 2
|
|
bind = $mainMod SHIFT, 3, movetoworkspacesilent, 3
|
|
bind = $mainMod SHIFT, 4, movetoworkspacesilent, 4
|
|
bind = $mainMod SHIFT, 5, movetoworkspacesilent, 5
|
|
bind = $mainMod SHIFT, 6, movetoworkspacesilent, 6
|
|
bind = $mainMod SHIFT, 7, movetoworkspacesilent, 7
|
|
bind = $mainMod SHIFT, 8, movetoworkspacesilent, 8
|
|
bind = $mainMod SHIFT, 9, movetoworkspacesilent, 9
|
|
bind = $mainMod SHIFT, 0, movetoworkspacesilent, 10
|
|
|
|
# Special workspace (scratchpad)
|
|
bind = $mainMod , S, togglespecialworkspace, magic
|
|
bind = $mainMod SHIFT, S, movetoworkspacesilent, special:magic
|
|
|
|
# Scroll through existing workspaces with mainMod + scroll and CTRL + left/right, h/l
|
|
bind = $mainMod, MOUSE_UP, workspace, e-1
|
|
bind = $mainMod CTRL, LEFT, workspace, e-1
|
|
bind = $mainMod CTRL, H, workspace, e-1
|
|
bind = $mainMod, MOUSE_DOWN, workspace, e+1
|
|
bind = $mainMod CTRL, RIGHT, workspace, e+1
|
|
bind = $mainMod CTRL, L, workspace, e+1
|
|
|
|
# Move window to workspace left/right
|
|
|
|
|
|
# Move workspace to display
|
|
|
|
|
|
# Move/resize windows with mainMod + LMB/RMB and dragging
|
|
bindm = $mainMod, mouse:272, movewindow
|
|
bindm = $mainMod, mouse:273, resizewindow
|
|
|
|
# Resize windows
|
|
bind = $mainMod, R, submap, resize
|
|
submap = resize
|
|
binde = , LEFT, resizeactive, -15 0
|
|
binde = , DOWN, resizeactive, 0 15
|
|
binde = , UP, resizeactive, 0 -15
|
|
binde = , RIGHT, resizeactive, 15 0
|
|
binde = , H, resizeactive, -15 0
|
|
binde = , J, resizeactive, 0 15
|
|
binde = , K, resizeactive, 0 -15
|
|
binde = , L, resizeactive, 15 0
|
|
bind = , ESCAPE, submap, reset
|
|
submap = reset
|
|
|