mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-23 02:05:33 +07:00
wiki: Add a page for tabs
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
### Overview
|
||||
|
||||
<sup>Since: next release</sup>
|
||||
|
||||
You can switch a column to display 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](./Configuration:-Layout.md) options 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` |
|
||||
| --- | --- |
|
||||
|  |  |
|
||||
Reference in New Issue
Block a user