summary refs log tree commit diff
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2022-11-24 21:06:06 +0100
committerRobert Günzler <r@gnzler.io>2022-11-24 21:11:03 +0100
commit10d81387fd4febda427684fa85237b3022ee1bbc (patch)
tree90953c0a363e9e3a4a0a3dd6b4c81757af6d6d6d
parent7c7756523e72d087214b786b16f302ea35c2f905 (diff)
sway: add gap default binds
-rw-r--r--.config/sway/binds.conf5
1 files changed, 4 insertions, 1 deletions
diff --git a/.config/sway/binds.conf b/.config/sway/binds.conf
index 619b47b..e3c5719 100644
--- a/.config/sway/binds.conf
+++ b/.config/sway/binds.conf
@@ -225,9 +225,12 @@ mode "resize" {
 bindsym $mod+Shift+g mode "gaps"
 # {{{
 mode "gaps" {
+    set $gapDefault
+    bindsym g gaps inner all toggle $gapDefault
+    bindsym t gaps inner all toggle $gapDefault
     bindsym r gaps outer all set 0; gaps inner all set 0
 
-    set $gapRate 5
+    set $gapRate 2
     bindsym $up gaps inner all plus $gapRate
     bindsym $down gaps inner all minus $gapRate