36 lines
1.2 KiB
Plaintext
36 lines
1.2 KiB
Plaintext
# Main modifier
|
|
$mainMod = mod1
|
|
$submod = super
|
|
|
|
bind = $mainMod, f, fullscreen # toggle the window between focus and fullscreen
|
|
|
|
# Application shortcuts
|
|
bind = $mainMod, return, exec, $term # launch terminal emulator
|
|
bind = $mainMod, i, exec, $editor # launch text editor
|
|
bind = $mainMod, o, exec, $browser # launch web browser
|
|
|
|
# Switch workspaces
|
|
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 focused window to a workspace
|
|
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
|
|
|