In resize mode right shrinks window width, left grows window width, down shrinks window height and up grows window height.

This commit is contained in:
RealStickman 2020-02-03 16:49:56 +00:00
parent 1676a01eaa
commit c89a9c86e7

View File

@ -309,20 +309,20 @@ bindsym $mod+r mode "resize"
mode "resize" { mode "resize" {
# These bindings trigger as soon as you enter the resize mode # These bindings trigger as soon as you enter the resize mode
# Pressing left will shrink the windows width. # Pressing right will shrink the windows width.
# Pressing right will grow the windows width. # Pressing left will grow the windows width.
# Pressing up will shrink the windows height. # Pressing down will shrink the windows height.
# Pressing down will grow the windows height. # Pressing up will grow the windows height.
bindsym $left resize shrink width 10 px or 10 ppt bindsym $right resize shrink width 10 px or 10 ppt
bindsym $down resize grow height 10 px or 10 ppt bindsym $up resize grow height 10 px or 10 ppt
bindsym $up resize shrink height 10 px or 10 ppt bindsym $down resize shrink height 10 px or 10 ppt
bindsym $right resize grow width 10 px or 10 ppt bindsym $left resize grow width 10 px or 10 ppt
# same bindings, but for the arrow keys # same bindings, but for the arrow keys
bindsym Left resize shrink width 10 px or 10 ppt bindsym Right resize shrink width 10 px or 10 ppt
bindsym Down resize grow height 10 px or 10 ppt bindsym Up resize grow height 10 px or 10 ppt
bindsym Up resize shrink height 10 px or 10 ppt bindsym Down resize shrink height 10 px or 10 ppt
bindsym Right resize grow width 10 px or 10 ppt bindsym Left resize grow width 10 px or 10 ppt
# back to normal: Enter or Escape # back to normal: Enter or Escape
bindsym Return mode "default" bindsym Return mode "default"