aboutsummaryrefslogtreecommitdiff
path: root/wiki
diff options
context:
space:
mode:
authorFluxTape <fluxtape.contact@gmail.com>2024-11-29 06:46:13 +0100
committerGitHub <noreply@github.com>2024-11-29 08:46:13 +0300
commit11f351dbeb937a7de1de2f15b08c81f3682e423b (patch)
treee44953e06d4c13cb319f172ff4b1b54c72abb43d /wiki
parent815fa379ea1ba2ed9c9efff94e0b48374185f5de (diff)
downloadniri-11f351dbeb937a7de1de2f15b08c81f3682e423b.tar.gz
niri-11f351dbeb937a7de1de2f15b08c81f3682e423b.tar.bz2
niri-11f351dbeb937a7de1de2f15b08c81f3682e423b.zip
Implement empty-workspace-above-first (#745)
* Implement empty-workspace-above-first option * add two failing tests * fix interactive_move_onto_empty_output_ewaf and interactive_move_onto_first_empty_workspace tests * Add two failing ewaf option toggle tests * Fix adding/removing first empty workspace on option toggle * Don't remove first empty workspace if focused * Stop workspace switch when enabling ewaf * layout/monitor: Offset workspace switch on adding workspace above * Fix some initial active workspace ids with ewaf * wiki: Document empty-workspace-above-first --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
Diffstat (limited to 'wiki')
-rw-r--r--wiki/Configuration:-Layout.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/wiki/Configuration:-Layout.md b/wiki/Configuration:-Layout.md
index c7a68835..7f7744d7 100644
--- a/wiki/Configuration:-Layout.md
+++ b/wiki/Configuration:-Layout.md
@@ -9,6 +9,7 @@ layout {
gaps 16
center-focused-column "never"
always-center-single-column
+ empty-workspace-above-first
preset-column-widths {
proportion 0.33333
@@ -100,6 +101,18 @@ layout {
}
```
+### `empty-workspace-above-first`
+
+<sup>Since: 0.1.11</sup>
+
+If set, niri will always add an empty workspace at the very start, in addition to the empty workspace at the very end.
+
+```kdl
+layout {
+ empty-workspace-above-first
+}
+```
+
### `preset-column-widths`
Set the widths that the `switch-preset-column-width` action (Mod+R) toggles between.