Add easier i3 container stacking and creation
mod+s to generate the next container with a vertical split, mod+S to generate it with a horizontal split. Stacked container view has been moved to mod+W (while tabbed remains mod+w). Faster resize options with [r]HJKL have been added.
This commit is contained in:
parent
a06890122c
commit
888ef54ab2
1 changed files with 10 additions and 8 deletions
|
@ -62,16 +62,16 @@ bindsym $mod+Shift+Up move up
|
||||||
bindsym $mod+Shift+Right move right
|
bindsym $mod+Shift+Right move right
|
||||||
|
|
||||||
# split in horizontal orientation
|
# split in horizontal orientation
|
||||||
bindsym $mod+odiaeresis split h
|
bindsym $mod+Shift+s split v
|
||||||
|
|
||||||
# split in vertical orientation
|
# split in vertical orientation
|
||||||
bindsym $mod+Shift+odiaeresis split v
|
bindsym $mod+s split h
|
||||||
|
|
||||||
# enter fullscreen mode for the focused container
|
# enter fullscreen mode for the focused container
|
||||||
bindsym $mod+f fullscreen toggle
|
bindsym $mod+f fullscreen toggle
|
||||||
|
|
||||||
# change container layout (stacked, tabbed, toggle split)
|
# change container layout (stacked, tabbed, toggle split)
|
||||||
bindsym $mod+s layout stacking
|
bindsym $mod+Shift+w layout stacking
|
||||||
bindsym $mod+w layout tabbed
|
bindsym $mod+w layout tabbed
|
||||||
bindsym $mod+e layout toggle split
|
bindsym $mod+e layout toggle split
|
||||||
|
|
||||||
|
@ -81,11 +81,9 @@ bindsym $mod+Shift+v floating toggle
|
||||||
# change focus between tiling / floating windows
|
# change focus between tiling / floating windows
|
||||||
bindsym $mod+v focus mode_toggle
|
bindsym $mod+v focus mode_toggle
|
||||||
|
|
||||||
# focus the parent container
|
# focus the parent/child container
|
||||||
bindsym $mod+a focus parent
|
bindsym $mod+Shift+a focus parent
|
||||||
|
bindsym $mod+a focus child
|
||||||
# focus the child container
|
|
||||||
#bindsym $mod+d focus child
|
|
||||||
|
|
||||||
# GAP MANAGEMENT
|
# GAP MANAGEMENT
|
||||||
# disable titles and borders, necessary for i3gaps to work apparently
|
# disable titles and borders, necessary for i3gaps to work apparently
|
||||||
|
@ -146,9 +144,13 @@ mode "resize" {
|
||||||
# Pressing up will shrink the window’s height.
|
# Pressing up will shrink the window’s height.
|
||||||
# Pressing down will grow the window’s height.
|
# Pressing down will grow the window’s height.
|
||||||
bindsym h resize shrink width 10 px or 10 ppt
|
bindsym h resize shrink width 10 px or 10 ppt
|
||||||
|
bindsym Shift+h resize shrink width 30 px or 30 ppt
|
||||||
bindsym j resize grow height 10 px or 10 ppt
|
bindsym j resize grow height 10 px or 10 ppt
|
||||||
|
bindsym Shift+j resize grow height 30 px or 30 ppt
|
||||||
bindsym k resize shrink height 10 px or 10 ppt
|
bindsym k resize shrink height 10 px or 10 ppt
|
||||||
|
bindsym Shift+k resize shrink height 30 px or 30 ppt
|
||||||
bindsym l resize grow width 10 px or 10 ppt
|
bindsym l resize grow width 10 px or 10 ppt
|
||||||
|
bindsym Shift+l resize grow width 30 px or 30 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 Left resize shrink width 10 px or 10 ppt
|
||||||
|
|
Loading…
Reference in a new issue