From 18f6757abeb1a1c733865238d8b0386567ffdcdd Mon Sep 17 00:00:00 2001 From: Blake Romero Date: Fri, 1 Nov 2024 19:00:13 +0000 Subject: Add resize bindings to sway --- dot-config/sway/config | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'dot-config') diff --git a/dot-config/sway/config b/dot-config/sway/config index 0c33a47..4345277 100644 --- a/dot-config/sway/config +++ b/dot-config/sway/config @@ -112,3 +112,19 @@ bindsym $mod+Shift+7 move container to workspace number 7 bindsym $mod+Shift+8 move container to workspace number 8 bindsym $mod+Shift+9 move container to workspace number 9 bindsym $mod+Shift+0 move container to workspace number 0 + +bindsym $mod+z mode "resize" +mode "resize" { + bindsym $up resize shrink height 10px + bindsym $down resize grow height 10px + bindsym $left resize shrink width 10px + bindsym $right resize grow width 10px + + bindsym Up resize shrink height 10px + bindsym Down resize grow height 10px + bindsym Left resize shrink width 10px + bindsym Right resize grow width 10px + + bindsym Return mode "default" + bindsym Escape mode "default" +} -- cgit