From c39d1aad04e42a112695eff23f2d81d21257895f Mon Sep 17 00:00:00 2001 From: RealStickman Date: Wed, 20 Jul 2022 16:26:05 +0200 Subject: [PATCH] Add 20px resizing options --- arch-config/.config/sway/config | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/arch-config/.config/sway/config b/arch-config/.config/sway/config index c8ac4dbf..292b29d3 100644 --- a/arch-config/.config/sway/config +++ b/arch-config/.config/sway/config @@ -214,20 +214,25 @@ exec swayidle -w \ # Resizing containers: # mode "resize" { - # left will shrink the containers width - # right will grow the containers width - # up will shrink the containers height - # down will grow the containers height + # Resize windows with movement keys bindsym $left resize shrink width 10px + bindsym Shift+$left resize shrink width 20px bindsym $down resize shrink height 10px + bindsym Shift+$down resize shrink height 20px bindsym $up resize grow height 10px + bindsym Shift+$up resize grow height 20px bindsym $right resize grow width 10px + bindsym Shift+$right resize grow width 20px # Ditto, with arrow keys bindsym Left resize shrink width 10px + bindsym Shift+Left resize shrink width 20px bindsym Down resize shrink height 10px + bindsym Shift+Down resize shrink height 20px bindsym Up resize grow height 10px + bindsym Shift+Up resize grow height 20px bindsym Right resize grow width 10px + bindsym Shift+Right resize grow width 20px # Return to default mode bindsym Return mode "default"