From 4e5f392c50b93817428c103503d4b98b7e93d9da Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Sat, 14 Sep 2024 09:48:59 +0300 Subject: [PATCH] wiki: Document always-center-focused-column --- wiki/Configuration:-Layout.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/wiki/Configuration:-Layout.md b/wiki/Configuration:-Layout.md index 47be65f84..95bbf5cee 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` + +Since: 0.1.9 + +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.