Improve some configs

This commit is contained in:
Tobias Reisinger 2024-06-13 18:29:58 +02:00
parent 0ed1633be6
commit 0edf379835
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
8 changed files with 46 additions and 11 deletions

View file

@ -26,19 +26,26 @@ bindl = , XF86AudioPause, exec, playerctl pause
bindl = , XF86AudioNext, exec, playerctl next
bindl = , XF86AudioPrev, exec, playerctl prev
### hjkl Keys
# 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
# Preselect split window with mainMod + hjkl keys
bind = $main_mod CTRL, h, layoutmsg, preselect l
bind = $main_mod CTRL, j, layoutmsg, preselect d
bind = $main_mod CTRL, k, layoutmsg, preselect u
bind = $main_mod CTRL, l, layoutmsg, preselect r
# Switch workspaces with mainMod + [0-9]