From abc5fbfaec5159de7e3f6043e61c00b81787a9f2 Mon Sep 17 00:00:00 2001 From: "S. Christoffer Eliesen" Date: Wed, 4 Nov 2015 02:55:38 +0100 Subject: Learn "gaps edge_gaps ". 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. --- sway.5.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sway.5.txt') 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 :: + 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** :: Sets default _amount_ pixels as the gap between each view, and around each workspace. -- cgit v1.2.3-54-g00ecf