From 9ee089caab0eb64e8b48170142d7ed8c93c90881 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Wed, 13 Mar 2019 11:57:46 +0100 Subject: [PATCH] add i3 gaps management --- .config/i3/config | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.config/i3/config b/.config/i3/config index f71dcb4..3cb8782 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -94,10 +94,14 @@ bindsym $mod+a focus parent # focus the child container #bindsym $mod+d focus child +# GAP MANAGEMENT # disable titles and borders, necessary for i3gaps to work apparently for_window [class="^.*"] border pixel 0 -# no gaps if there is only 1 window - I am satisfied with choosing manually -#smart_gaps on +# no gaps if there is only 1 window +smart_gaps on +# by default set some gaps when multiple windows are on the workspace +gaps inner 5 +gaps outer 0 # enable / disable gaps (g disables, G enables) bindsym $mod+shift+g gaps inner current set 10; gaps outer current set 10 bindsym $mod+g gaps inner current set 0; gaps outer current set 0