aboutsummaryrefslogtreecommitdiff
path: root/sway/sway.5.scd
diff options
context:
space:
mode:
authorbR3iN <bR3iN@posteo.de>2021-10-28 15:31:23 +0200
committerSimon Ser <contact@emersion.fr>2021-10-29 13:37:58 +0200
commit9969de9e00a1ca89ded85d418a72c4ebbce91331 (patch)
tree28cf0f1d6e77e7e99a0df51c165e769a262b6920 /sway/sway.5.scd
parentaaf68cf423d718a748b56481fddb37e9186b83ed (diff)
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/sway.5.scd')
-rw-r--r--sway/sway.5.scd5
1 files changed, 3 insertions, 2 deletions
diff --git a/sway/sway.5.scd b/sway/sway.5.scd
index e8d3d606..ec34a56c 100644
--- a/sway/sway.5.scd
+++ b/sway/sway.5.scd
@@ -692,9 +692,10 @@ The default colors are:
borders will only be enabled if the workspace has more than one visible
child and gaps equal to zero.
-*smart_gaps* on|off
+*smart_gaps* on|off|toggle|inverse_outer
If smart_gaps are _on_ gaps will only be enabled if a workspace has more
- than one child.
+ than one child. If smart_gaps are _inverse_outer_ outer gaps will only
+ be enabled if a workspace has exactly one child.
*mark* --add|--replace [--toggle] <identifier>
Marks are arbitrary labels that can be used to identify certain windows and