Fully modularize sway configs

This commit is contained in:
2024-04-17 01:35:18 -05:00
parent 6494402d57
commit bec07d6fea
4 changed files with 124 additions and 136 deletions

View File

@@ -0,0 +1,24 @@
# vim: set ft=swayconfig:
#
# This file stores "modes" for sway, such as for resizing
#
# Resize
bindsym $mod+r mode "resize"
mode "resize" {
bindsym h resize shrink width 10 px or 10 ppt
bindsym j resize grow height 10 px or 10 ppt
bindsym k resize shrink height 10 px or 10 ppt
bindsym l resize grow width 10 px or 10 ppt
bindsym Left resize shrink width 10 px or 10 ppt
bindsym Down resize grow height 10 px or 10 ppt
bindsym Up resize shrink height 10 px or 10 ppt
bindsym Right resize grow width 10 px or 10 ppt
bindsym Return mode "default"
bindsym Escape mode "default"
bindsym $mod+r mode "default"
}