Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mode "resize" {
- # These bindings trigger as soon as you enter the resize mode
- # 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 j resize shrink width 10 px or 10 ppt
- bindsym k resize grow height 10 px or 10 ppt
- bindsym l resize shrink height 10 px or 10 ppt
- bindsym semicolon 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
- bindsym Return mode "default"
- bindsym Escape mode "default"
- }
- # Enter resize mode
- bindsym $mod+r mode "resize"
- bindsym $mod+Ctrl+Right resize shrink width 1 px or 1 ppt
- bindsym $mod+Ctrl+Up resize grow height 1 px or 1 ppt
- bindsym $mod+Ctrl+Down resize shrink height 1 px or 1 ppt
- bindsym $mod+Ctrl+Left resize grow width 1 px or 1 ppt
- # Resizing windows by 10 in i3 using keyboard only
- bindsym $mod+Ctrl+Shift+Right resize shrink width 10 px or 10 ppt
- bindsym $mod+Ctrl+Shift+Up resize grow height 10 px or 10 ppt
- bindsym $mod+Ctrl+Shift+Down resize shrink height 10 px or 10 ppt
- bindsym $mod+Ctrl+Shift+Left resize grow width 10 px or 10 ppt
- # Resizing windows in i3 using keyboard only
- # https://unix.stackexchange.com/q/255344/150597
- # Resizing by 1
- bindsym $mod+Ctrl+Right resize shrink width 1 px or 1 ppt
- bindsym $mod+Ctrl+Up resize grow height 1 px or 1 ppt
- bindsym $mod+Ctrl+Down resize shrink height 1 px or 1 ppt
- bindsym $mod+Ctrl+Left resize grow width 1 px or 1 ppt
- # Resizing by 10
- bindsym $mod+Ctrl+Shift+Right resize shrink width 10 px or 10 ppt
- bindsym $mod+Ctrl+Shift+Up resize grow height 10 px or 10 ppt
- bindsym $mod+Ctrl+Shift+Down resize shrink height 10 px or 10 ppt
- bindsym $mod+Ctrl+Shift+Left resize grow width 10 px or 10 ppt
Add Comment
Please, Sign In to add comment