aboutsummaryrefslogtreecommitdiff
path: root/sway.5.txt
diff options
context:
space:
mode:
authorS. Christoffer Eliesen <christoffer@eliesen.no>2015-11-04 02:55:38 +0100
committerS. Christoffer Eliesen <christoffer@eliesen.no>2015-11-04 13:21:10 +0100
commitabc5fbfaec5159de7e3f6043e61c00b81787a9f2 (patch)
tree325b45395cd3ccda48cb7400922fda5b4731b14b /sway.5.txt
parent713c7d6e1eb886de374659d41ae4cab0f4bc3f34 (diff)
Learn "gaps edge_gaps <on|off|toggle>".
When yes, the old behaviour of adding half the inner gap around each view is used. When no, don't add any gap when an edge of the view aligns with the workspace. The result is inner gap only between views, not against the workspace edge. The algorithm is not perfect because it means the extra space is distributed amongst edge-aligned views only, but it's simple, looks good and it works.
Diffstat (limited to 'sway.5.txt')
-rw-r--r--sway.5.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/sway.5.txt b/sway.5.txt
index 5659a107..ab2bdedb 100644
--- a/sway.5.txt
+++ b/sway.5.txt
@@ -68,6 +68,11 @@ Commands
**fullscreen**::
Toggles fullscreen status for the focused view.
+**gaps** edge_gaps <on|off|toggle>::
+ Whether or not to add gaps between views and workspace edges if amount of
+ inner gap is not zero. When _no_, no gap is added where the view is aligned to
+ the workspace edge, effectively creating gaps only between views.
+
**gaps** <amount>::
Sets default _amount_ pixels as the gap between each view, and around each
workspace.