aboutsummaryrefslogtreecommitdiff
path: root/wiki
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2024-09-14 09:48:59 +0300
committerIvan Molodetskikh <yalterz@gmail.com>2024-09-14 09:48:59 +0300
commit4e5f392c50b93817428c103503d4b98b7e93d9da (patch)
treebf0a637291b24c683b949ea2d617c9d8ee3d3a7a /wiki
parente35d9e760b2ad6bad8be206fe8e7192283b73a30 (diff)
downloadniri-4e5f392c50b93817428c103503d4b98b7e93d9da.tar.gz
niri-4e5f392c50b93817428c103503d4b98b7e93d9da.tar.bz2
niri-4e5f392c50b93817428c103503d4b98b7e93d9da.zip
wiki: Document always-center-focused-column
Diffstat (limited to 'wiki')
-rw-r--r--wiki/Configuration:-Layout.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/wiki/Configuration:-Layout.md b/wiki/Configuration:-Layout.md
index 47be65f8..95bbf5ce 100644
--- a/wiki/Configuration:-Layout.md
+++ b/wiki/Configuration:-Layout.md
@@ -8,6 +8,7 @@ Here are the contents of this section at a glance:
layout {
gaps 16
center-focused-column "never"
+ always-center-single-column
preset-column-widths {
proportion 0.33333
@@ -81,6 +82,18 @@ layout {
}
```
+### `always-center-single-column`
+
+<sup>Since: 0.1.9</sup>
+
+If set, niri will always center a single column on a workspace, regardless of the `center-focused-column` option.
+
+```kdl
+layout {
+ always-center-single-column
+}
+```
+
### `preset-column-widths`
Set the widths that the `switch-preset-column-width` action (Mod+R) toggles between.