add i3 gaps management

This commit is contained in:
Marty Oehme 2019-03-13 11:57:46 +01:00
parent 22e8c4b0c6
commit 9ee089caab

View file

@ -94,10 +94,14 @@ bindsym $mod+a focus parent
# focus the child container # focus the child container
#bindsym $mod+d focus child #bindsym $mod+d focus child
# GAP MANAGEMENT
# disable titles and borders, necessary for i3gaps to work apparently # disable titles and borders, necessary for i3gaps to work apparently
for_window [class="^.*"] border pixel 0 for_window [class="^.*"] border pixel 0
# no gaps if there is only 1 window - I am satisfied with choosing manually # no gaps if there is only 1 window
#smart_gaps on 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) # enable / disable gaps (g disables, G enables)
bindsym $mod+shift+g gaps inner current set 10; gaps outer current set 10 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 bindsym $mod+g gaps inner current set 0; gaps outer current set 0