wiki: Add some floating window documentation
Browse files at this commit7af33f9e6a1bd8c71ca6c09c174a5b83abca501cParent: 3c0705b2 changed files +17 -0
- wiki/Floating-Windows.md +16 -0
- wiki/_Sidebar.md +1 -0
wiki/Floating-Windows.mdadded+16 -0
| @@ -0,0 +1,16 @@ | |||
| 1 | +### Overview | ||
| 2 | + | ||
| 3 | +<sup>Since: next release</sup> | ||
| 4 | + | ||
| 5 | +Floating windows in niri always show on top of the tiled windows. | ||
| 6 | +The floating layout does not scroll. | ||
| 7 | +Each workspace/monitor has its own floating layout, just like each workspace/monitor has its own tiling layout. | ||
| 8 | + | ||
| 9 | +New windows will automatically float if they have a parent (e.g. dialogs) or if they are fixed size (e.g. splash screens). | ||
| 10 | +To change a window between floating and tiling, you can use the `toggle-window-floating` bind or right click while dragging/moving the window. | ||
| 11 | +You can also use the `open-floating true/false` window rule to either force a window to open as floating, or to disable the automatic floating logic. | ||
| 12 | + | ||
| 13 | +Use `switch-focus-between-floating-and-tiling` to switch the focus between the two layouts. | ||
| 14 | +When focused on the floating layout, binds (like `focus-column-right`) will operate on the floating window. | ||
| 15 | + | ||
| 16 | +You can precisely position a floating window with a command like `niri msg action move-floating-window -x 100 -y 200`. | ||
wiki/_Sidebar.mdmodified+1 -0
| @@ -2,6 +2,7 @@ | |||
| 2 | * [Getting Started](./Getting-Started.md) | 2 | * [Getting Started](./Getting-Started.md) |
| 3 | * [Example systemd Setup](./Example-systemd-Setup.md) | 3 | * [Example systemd Setup](./Example-systemd-Setup.md) |
| 4 | * [Important Software](./Important-Software.md) | 4 | * [Important Software](./Important-Software.md) |
| 5 | +* [Floating Windows](./Floating-Windows.md) | ||
| 5 | * [Layer‐Shell Components](./Layer%E2%80%90Shell-Components.md) | 6 | * [Layer‐Shell Components](./Layer%E2%80%90Shell-Components.md) |
| 6 | * [IPC, `niri msg`](./IPC.md) | 7 | * [IPC, `niri msg`](./IPC.md) |
| 7 | * [Application-Specific Issues](./Application-Issues.md) | 8 | * [Application-Specific Issues](./Application-Issues.md) |