aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2023-04-06 12:47:11 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2023-04-12 01:49:18 +0300
commitef8bf4e980eb149f6ad94b4ce370b02719d41555 (patch)
tree1a27d3661cae25aed87851e8fb0ef593f648c7e6
parent4cced84d89e68a74af8294f3c1b4b093197132e7 (diff)
downloadswayrice-ef8bf4e980eb149f6ad94b4ce370b02719d41555.tar.gz
swayrice-ef8bf4e980eb149f6ad94b4ce370b02719d41555.zip
sway: default gaps size
-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