diff options
| author | Pavel Egorov <[email protected]> | 2025-12-22 08:57:22 +0300 |
|---|---|---|
| committer | Pavel Egorov <[email protected]> | 2025-12-22 08:57:22 +0300 |
| commit | 250d645f2b452e72df54d8ec0a502c7b59af3a03 (patch) | |
| tree | 64d2d2d8c6085cc1ef3a3b1a5ce89374594640e9 /.config/niri | |
| parent | 5de6f060b5103aeba7be82221fc9be599ad472e7 (diff) | |
| download | dotfiles-250d645f2b452e72df54d8ec0a502c7b59af3a03.tar.gz dotfiles-250d645f2b452e72df54d8ec0a502c7b59af3a03.zip | |
[niri] make single window always be centered
Diffstat (limited to '')
| -rw-r--r-- | .config/niri/layout.kdl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.config/niri/layout.kdl b/.config/niri/layout.kdl index 646ee56..d8c65f8 100644 --- a/.config/niri/layout.kdl +++ b/.config/niri/layout.kdl | |||
| @@ -5,6 +5,8 @@ layout { | |||
| 5 | // Set gaps around windows in logical pixels. | 5 | // Set gaps around windows in logical pixels. |
| 6 | gaps 16 | 6 | gaps 16 |
| 7 | 7 | ||
| 8 | always-center-single-column | ||
| 9 | |||
| 8 | // When to center a column when changing focus, options are: | 10 | // When to center a column when changing focus, options are: |
| 9 | // - "never", default behavior, focusing an off-screen column will keep at the left | 11 | // - "never", default behavior, focusing an off-screen column will keep at the left |
| 10 | // or right edge of the screen. | 12 | // or right edge of the screen. |
