- # They resize the border in the direction you pressed, e.g.
- # when pressing left, the window is resized so that it has
- # more space on its left
-
- bindsym n resize shrink left 10 px or 10 ppt
- bindsym Shift+n resize grow left 10 px or 10 ppt
-
- bindsym r resize shrink down 10 px or 10 ppt
- bindsym Shift+r resize grow down 10 px or 10 ppt
-
- bindsym t resize shrink up 10 px or 10 ppt
- bindsym Shift+t resize grow up 10 px or 10 ppt
-
- bindsym d resize shrink right 10 px or 10 ppt
- bindsym Shift+d resize grow right 10 px or 10 ppt
-
+ # Pressing left will shrink the window’s width.
+ # Pressing right will grow the window’s width.
+ # Pressing up will shrink the window’s height.
+ # Pressing down will grow the window’s height.
+ 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
+
+ # same bindings, but for the arrow keys
+ 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
+
+ # back to normal: Enter or Escape