Resizing made quicker by doubling growth/shrinkage with Shift key pressed.

This commit is contained in:
RealStickman 2020-04-15 14:00:17 +00:00
parent d34499e62e
commit 6e9e7ae1b9

View File

@ -269,15 +269,23 @@ mode "resize" {
# Pressing down will shrink the windows height.
# Pressing up will grow the windows height.
bindsym $left resize shrink width 10 px or 10 ppt
bindsym Shift+$left resize shrink width 20 px or 20 ppt
bindsym $up resize grow height 10 px or 10 ppt
bindsym Shift+$up resize grow height 20 px or 20 ppt
bindsym $down resize shrink height 10 px or 10 ppt
bindsym Shift+$down resize shrink height 20 px or 20 ppt
bindsym $right resize grow width 10 px or 10 ppt
bindsym Shift+$right resize grow width 20 px or 20 ppt
# same bindings, but for the arrow keys
bindsym Left resize shrink width 10 px or 10 ppt
bindsym Shift+Left resize shrink width 20 px or 20 ppt
bindsym Up resize grow height 10 px or 10 ppt
bindsym Shift+Up resize grow height 20 px or 20 ppt
bindsym Down resize shrink height 10 px or 10 ppt
bindsym Shift+Down resize shrink height 20 px or 20 ppt
bindsym Right resize grow width 10 px or 10 ppt
bindsym Shift+Right resize grow width 20 px or 20 ppt
# back to normal: Enter or Escape
bindsym Return mode "default"