aboutsummaryrefslogtreecommitdiffstats
path: root/sway/config.c
diff options
context:
space:
mode:
authorLibravatar bR3iN <bR3iN@posteo.de>2021-10-28 15:31:23 +0200
committerLibravatar Simon Ser <contact@emersion.fr>2021-10-29 13:37:58 +0200
commit9969de9e00a1ca89ded85d418a72c4ebbce91331 (patch)
tree28cf0f1d6e77e7e99a0df51c165e769a262b6920 /sway/config.c
parentfix cursor input for layer-shell surfaces (diff)
downloadsway-9969de9e00a1ca89ded85d418a72c4ebbce91331.tar.gz
sway-9969de9e00a1ca89ded85d418a72c4ebbce91331.tar.zst
sway-9969de9e00a1ca89ded85d418a72c4ebbce91331.zip
Add smart_gaps inverse_outer command
Add a subcommand for `smart_gaps` that enables outer gaps only on workspaces with exactly one visible child. Also add documentation for `smart_gaps toggle`.
Diffstat (limited to 'sway/config.c')
-rw-r--r--sway/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/config.c b/sway/config.c
index e3daacda..35837212 100644
--- a/sway/config.c
+++ b/sway/config.c
@@ -266,7 +266,7 @@ static void config_defaults(struct sway_config *config) {
266 config->tiling_drag = true; 266 config->tiling_drag = true;
267 config->tiling_drag_threshold = 9; 267 config->tiling_drag_threshold = 9;
268 268
269 config->smart_gaps = false; 269 config->smart_gaps = SMART_GAPS_OFF;
270 config->gaps_inner = 0; 270 config->gaps_inner = 0;
271 config->gaps_outer.top = 0; 271 config->gaps_outer.top = 0;
272 config->gaps_outer.right = 0; 272 config->gaps_outer.right = 0;