63 lines
2.2 KiB
Text
63 lines
2.2 KiB
Text
$main_mod = SUPER
|
|
|
|
bind = $main_mod, return, exec, $TERMINAL
|
|
bind = $main_mod SHIFT, return, exec, [float] $TERMINAL
|
|
|
|
bind = $main_mod, Q, killactive,
|
|
bind = $main_mod, S, togglefloating,
|
|
bind = $main_mod, F, fullscreen,
|
|
|
|
bind = $main_mod, D, exec, j4-dmenu-desktop --dmenu="$DMENU"
|
|
bind = $main_mod, Pause, exec, menu-shutdown
|
|
|
|
bind = $main_mod, Print, exec, screenshot
|
|
bind = $main_mod CTRL, Print, exec, screenshot --no-upload
|
|
|
|
bind = $main_mod SHIFT, R, exec, autostart-manage run-wayland
|
|
|
|
|
|
# Move focus with mainMod + hjkl keys
|
|
bind = $main_mod, h, movefocus, l
|
|
bind = $main_mod, j, movefocus, d
|
|
bind = $main_mod, k, movefocus, u
|
|
bind = $main_mod, l, movefocus, r
|
|
# Move window with mainMod + hjkl keys
|
|
bind = $main_mod SHIFT, h, movewindow, l
|
|
bind = $main_mod SHIFT, j, movewindow, d
|
|
bind = $main_mod SHIFT, k, movewindow, u
|
|
bind = $main_mod SHIFT, l, movewindow, r
|
|
|
|
# Move focus between windows
|
|
bind = $main_mod, c, layoutmsg, swapwithmaster master
|
|
|
|
|
|
# Switch workspaces with mainMod + [0-9]
|
|
bind = $main_mod, 1, workspace, $ws01
|
|
bind = $main_mod, 2, workspace, $ws02
|
|
bind = $main_mod, 3, workspace, $ws03
|
|
bind = $main_mod, 4, workspace, $ws04
|
|
bind = $main_mod, 5, workspace, $ws05
|
|
bind = $main_mod, 6, workspace, $ws06
|
|
bind = $main_mod, 7, workspace, $ws07
|
|
bind = $main_mod, 8, workspace, $ws08
|
|
bind = $main_mod, 9, workspace, $ws09
|
|
bind = $main_mod, 0, workspace, $ws10
|
|
|
|
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
|
bind = $main_mod SHIFT, 1, movetoworkspacesilent, $ws01
|
|
bind = $main_mod SHIFT, 2, movetoworkspacesilent, $ws02
|
|
bind = $main_mod SHIFT, 3, movetoworkspacesilent, $ws03
|
|
bind = $main_mod SHIFT, 4, movetoworkspacesilent, $ws04
|
|
bind = $main_mod SHIFT, 5, movetoworkspacesilent, $ws05
|
|
bind = $main_mod SHIFT, 6, movetoworkspacesilent, $ws06
|
|
bind = $main_mod SHIFT, 7, movetoworkspacesilent, $ws07
|
|
bind = $main_mod SHIFT, 8, movetoworkspacesilent, $ws08
|
|
bind = $main_mod SHIFT, 9, movetoworkspacesilent, $ws09
|
|
bind = $main_mod SHIFT, 0, movetoworkspacesilent, $ws10
|
|
|
|
bind = $main_mod, dead_circumflex, workspace, $ws_focus
|
|
bind = $main_mod SHIFT, dead_circumflex, movetoworkspacesilent, $ws_focus
|
|
|
|
# Move/resize windows with mainMod + LMB/RMB and dragging
|
|
bindm = $main_mod, mouse:272, movewindow
|
|
bindm = $main_mod, mouse:273, resizewindow
|