aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.config/sway/config
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles/.config/sway/config')
-rw-r--r--dotfiles/.config/sway/config8
1 files changed, 5 insertions, 3 deletions
diff --git a/dotfiles/.config/sway/config b/dotfiles/.config/sway/config
index c967a40..4a48413 100644
--- a/dotfiles/.config/sway/config
+++ b/dotfiles/.config/sway/config
@@ -139,8 +139,10 @@ input * {
}
# Set inner/outer gaps
-gaps inner 15
-gaps outer 0
+set $igaps 10
+set $ogaps 0
+gaps inner $igaps
+gaps outer $ogaps
# Smart gaps (gaps used if only more than one container on the workspace)
# smart_gaps on
@@ -338,7 +340,7 @@ bindsym --to-code {
$mod+Shift+x exec lock-color screenon
# Gaps
- $mod+semicolon gaps inner current set 15; gaps outer current set 0
+ $mod+semicolon gaps inner current set $igaps; gaps outer current set $ogaps
$mod+Shift+semicolon gaps inner current set 0; gaps outer current set 0
$mod+Ctrl+semicolon gaps inner current set 45; gaps outer current set 15
$mod+period gaps outer current plus 5