aboutsummaryrefslogtreecommitdiff
path: root/resources
diff options
context:
space:
mode:
authorThomas Versteeg <t@versteeg.email>2024-01-08 17:17:19 +0400
committerIvan Molodetskikh <yalterz@gmail.com>2024-01-08 17:37:18 +0400
commitfb93038bd88e4443015fb482de3450c27f009219 (patch)
treea2b5bbcce4c2c2fc9f9a070565800a44d1646013 /resources
parent71fef2ad2e873c45279cdd6e629218fb5dea1115 (diff)
downloadniri-fb93038bd88e4443015fb482de3450c27f009219.tar.gz
niri-fb93038bd88e4443015fb482de3450c27f009219.tar.bz2
niri-fb93038bd88e4443015fb482de3450c27f009219.zip
Add center-focused-column setting
Diffstat (limited to 'resources')
-rw-r--r--resources/default-config.kdl8
1 files changed, 8 insertions, 0 deletions
diff --git a/resources/default-config.kdl b/resources/default-config.kdl
index 87b026c5..8aba085c 100644
--- a/resources/default-config.kdl
+++ b/resources/default-config.kdl
@@ -143,6 +143,14 @@ layout {
// top 64
// bottom 64
}
+
+ // When to center a column when changing focus, options are:
+ // - "never", default behavior, focusing an off-screen column will keep at the left
+ // or right edge of the screen.
+ // - "on-overflow", focusing a column will center it if it doesn't fit
+ // together with the previously focused column.
+ // - "always", the focused column will always be centered.
+ center-focused-column "never"
}
// Add lines like this to spawn processes at startup.