allow toggling i3 gaps with mod+g/G
This commit is contained in:
parent
23fe092d7f
commit
02277a3ae2
1 changed files with 8 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue