allow toggling i3 gaps with mod+g/G

This commit is contained in:
Marty Oehme 2019-03-12 16:50:04 +01:00
parent 23fe092d7f
commit 02277a3ae2

View file

@ -94,6 +94,14 @@ bindsym $mod+a focus parent
# focus the child container
#bindsym $mod+d focus child
# 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
# 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
# Define names for default workspaces for which we configure key bindings later on.
# We use variables to avoid repeating the names in multiple places.
set $ws1 "1"