wiki: Document always-center-focused-column
Browse files at this commit4e5f392c50b93817428c103503d4b98b7e93d9daParent: e35d9e71 changed file +13 -0
wiki/Configuration:-Layout.mdmodified+13 -0
| @@ -8,6 +8,7 @@ Here are the contents of this section at a glance: | |||
| 8 | layout { | 8 | layout { |
| 9 | gaps 16 | 9 | gaps 16 |
| 10 | center-focused-column "never" | 10 | center-focused-column "never" |
| 11 | + always-center-single-column | ||
| 11 | 12 | ||
| 12 | preset-column-widths { | 13 | preset-column-widths { |
| 13 | proportion 0.33333 | 14 | proportion 0.33333 |
| @@ -81,6 +82,18 @@ layout { | |||
| 81 | } | 82 | } |
| 82 | ``` | 83 | ``` |
| 83 | 84 | ||
| 85 | +### `always-center-single-column` | ||
| 86 | + | ||
| 87 | +<sup>Since: 0.1.9</sup> | ||
| 88 | + | ||
| 89 | +If set, niri will always center a single column on a workspace, regardless of the `center-focused-column` option. | ||
| 90 | + | ||
| 91 | +```kdl | ||
| 92 | +layout { | ||
| 93 | + always-center-single-column | ||
| 94 | +} | ||
| 95 | +``` | ||
| 96 | + | ||
| 84 | ### `preset-column-widths` | 97 | ### `preset-column-widths` |
| 85 | 98 | ||
| 86 | Set the widths that the `switch-preset-column-width` action (Mod+R) toggles between. | 99 | Set the widths that the `switch-preset-column-width` action (Mod+R) toggles between. |