diff options
| author | Kent Daleng <lolexplode@gmail.com> | 2025-08-17 16:05:41 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-17 17:05:41 +0300 |
| commit | dc93f1c1fd7b67e2da5af2ffada732b9ddeb2d6a (patch) | |
| tree | a2f2938a7df17c196be7016dc5fe1fc9f75fb484 /docs/wiki/Tabs.md | |
| parent | a6febb86aa5af0df7bf2792ca027ef95a503d599 (diff) | |
| download | niri-dc93f1c1fd7b67e2da5af2ffada732b9ddeb2d6a.tar.gz niri-dc93f1c1fd7b67e2da5af2ffada732b9ddeb2d6a.tar.bz2 niri-dc93f1c1fd7b67e2da5af2ffada732b9ddeb2d6a.zip | |
github wiki replacement / mkdocs-docs (#2147)
* Add wiki based on mkdocs
* wording fixes
* fix github bg color on narrow
* Fix left sidebar section headers being bigger than pages
* fix hover accent
* fix list rendering on fractional layout
* fix videos
* fix automatic full links
* remove redundant commented css
* improve dark mode contrast
* update pygments for better child node coloring
* update logo
* remove blank lines
* add systemd language hint
---------
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
Diffstat (limited to 'docs/wiki/Tabs.md')
| -rw-r--r-- | docs/wiki/Tabs.md | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/docs/wiki/Tabs.md b/docs/wiki/Tabs.md new file mode 100644 index 00000000..1ef438b7 --- /dev/null +++ b/docs/wiki/Tabs.md @@ -0,0 +1,35 @@ +### Overview + +<sup>Since: 25.02</sup> + +You can switch a column to present windows as tabs, rather than as vertical tiles. +All tabs in a column have the same window size, so this is useful to get more vertical space. + + + +Use this bind to toggle a column between normal and tabbed display: + +```kdl +binds { + Mod+W { toggle-column-tabbed-display; } +} +``` + +All other binds remain the same: switch tabs with `focus-window-down/up`, add or remove windows with `consume-window-into-column`/`expel-window-from-column`, and so on. + +Unlike regular columns, tabbed columns can go full-screen with multiple windows. + +### Tab indicator + +Tabbed columns show a tab indicator on the side. +You can click on the indicator to switch tabs. + +See the [`tab-indicator` section in the layout section](./Configuration:-Layout.md#tab-indicator) to configure it. + +By default, the indicator draws "outside" the column, so it can overlay other windows or go off-screen. +The `place-within-column` flag puts the indicator "inside" the column, adjusting the window size to make space for it. +This is especially useful for thicker tab indicators, or when you have very small gaps. + +| Default | `place-within-column` | +| --- | --- | +|  |  | |
