From 888ef54ab23407c4cc2064ee5b234d5057ab1383 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Tue, 3 Dec 2019 11:32:18 +0100 Subject: [PATCH] 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. --- .config/i3/config | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/.config/i3/config b/.config/i3/config index 2f60766..b3e09de 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -62,16 +62,16 @@ bindsym $mod+Shift+Up move up bindsym $mod+Shift+Right move right # split in horizontal orientation -bindsym $mod+odiaeresis split h +bindsym $mod+Shift+s split v # split in vertical orientation -bindsym $mod+Shift+odiaeresis split v +bindsym $mod+s split h # enter fullscreen mode for the focused container bindsym $mod+f fullscreen toggle # 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+e layout toggle split @@ -81,11 +81,9 @@ bindsym $mod+Shift+v floating toggle # change focus between tiling / floating windows bindsym $mod+v focus mode_toggle -# focus the parent container -bindsym $mod+a focus parent - -# focus the child container -#bindsym $mod+d focus child +# focus the parent/child container +bindsym $mod+Shift+a focus parent +bindsym $mod+a focus child # GAP MANAGEMENT # 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 down will grow the window’s height. 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 Shift+j resize grow height 30 px or 30 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 Shift+l resize grow width 30 px or 30 ppt # same bindings, but for the arrow keys bindsym Left resize shrink width 10 px or 10 ppt