aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stapelberg <michael@stapelberg.de>2022-11-05 18:32:46 +0100
committerMichael Stapelberg <stapelberg@users.noreply.github.com>2022-11-06 12:43:01 +0100
commitc8fd8eff2177a7dd2e30bfb2eaa4635cc768fd82 (patch)
treeadfca739e8a6682e0ea43a8f1b858686ade965b5
parent6fe625f469636748879e2b09b2508cdd02223270 (diff)
downloadi3-c8fd8eff2177a7dd2e30bfb2eaa4635cc768fd82.tar.gz
i3-c8fd8eff2177a7dd2e30bfb2eaa4635cc768fd82.zip
userguide: document smart_borders
-rw-r--r--docs/userguide21
1 files changed, 21 insertions, 0 deletions
diff --git a/docs/userguide b/docs/userguide
index 052af805..0eee863b 100644
--- a/docs/userguide
+++ b/docs/userguide
@@ -798,6 +798,27 @@ hide_edge_borders none|vertical|horizontal|both|smart|smart_no_gaps
hide_edge_borders vertical
----------------------
+[[_smart_borders]]
+=== Smart borders
+
+Smart borders will draw borders on windows only if there is more than one window
+in a workspace. This feature can also be enabled only if the gap size between
+window and screen edge is +0+.
+
+*Syntax*:
+-----------------------------------------------
+smart_borders on|off|no_gaps
+-----------------------------------------------
+
+*Example*:
+----------------------
+# Activate smart borders (always)
+smart_borders on
+
+# Activate smart borders (only when there are effectively no gaps)
+smart_borders no_gaps
+----------------------
+
[[for_window]]
=== Arbitrary commands for specific windows (for_window)