diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2025-02-07 09:36:08 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2025-02-10 07:29:33 -0800 |
| commit | c31b58e2c9a786fc8c96bba462190374535e6819 (patch) | |
| tree | 6b2b1e93b01cf3152c9e62fd483d4a09d02bfb05 /wiki/Configuration:-Layout.md | |
| parent | b1630457571330335ece184ca5e7a1c1acffb107 (diff) | |
| download | niri-c31b58e2c9a786fc8c96bba462190374535e6819.tar.gz niri-c31b58e2c9a786fc8c96bba462190374535e6819.tar.bz2 niri-c31b58e2c9a786fc8c96bba462190374535e6819.zip | |
tab indicator: Implement place-within-column setting
Diffstat (limited to 'wiki/Configuration:-Layout.md')
| -rw-r--r-- | wiki/Configuration:-Layout.md | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/wiki/Configuration:-Layout.md b/wiki/Configuration:-Layout.md index 268aa2ba..91a5255a 100644 --- a/wiki/Configuration:-Layout.md +++ b/wiki/Configuration:-Layout.md @@ -57,6 +57,7 @@ layout { tab-indicator { // off hide-when-single-tab + place-within-column gap 5 width 4 length total-proportion=1.0 @@ -420,6 +421,9 @@ Set `off` to hide the tab indicator. Set `hide-when-single-tab` to hide the indicator for tabbed columns that only have a single window. +Set `place-within-column` to put the tab indicator "within" the column, rather than outside. +This will include it in column sizing and avoid overlaying adjacent columns. + `gap` sets the gap between the tab indicator and the window. The gap can be negative, this will put the tab indicator on top of the window. @@ -442,13 +446,14 @@ Tab colors are picked in this order: ```kdl // Make the tab indicator wider and match the window height, -// also put it at the top. +// also put it at the top and within the column. layout { tab-indicator { width 8 gap 8 length total-proportion=1.0 position "top" + place-within-column } } ``` |
