From ef8bf4e980eb149f6ad94b4ce370b02719d41555 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Thu, 6 Apr 2023 12:47:11 +0300 Subject: sway: default gaps size --- dotfiles/.config/sway/config | 8 +++++--- 1 file 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 -- cgit v1.2.3