aboutsummaryrefslogtreecommitdiff
path: root/resources
diff options
context:
space:
mode:
authorKirill Chibisov <contact@kchibisov.com>2023-11-02 00:10:22 +0400
committerIvan Molodetskikh <yalterz@gmail.com>2023-11-08 19:09:11 +0400
commit907e0a03efcce6ba35aa6405e130f316bc217c5a (patch)
treea7e7aa34c0fabdd055baf69df9f3f2dc17746123 /resources
parenteb7d20c638e8912747ee21a4b8de95dd27bb7aba (diff)
downloadniri-907e0a03efcce6ba35aa6405e130f316bc217c5a.tar.gz
niri-907e0a03efcce6ba35aa6405e130f316bc217c5a.tar.bz2
niri-907e0a03efcce6ba35aa6405e130f316bc217c5a.zip
Add 'input.keyboard.track_layout' config option
Track layout for each window individually when user requested `Window` tracking mode, keeping the default as global.
Diffstat (limited to 'resources')
-rw-r--r--resources/default-config.kdl5
1 files changed, 5 insertions, 0 deletions
diff --git a/resources/default-config.kdl b/resources/default-config.kdl
index cede85b5..02cbac63 100644
--- a/resources/default-config.kdl
+++ b/resources/default-config.kdl
@@ -16,6 +16,11 @@ input {
// Delay is in milliseconds before the repeat starts. Rate is in characters per second.
// repeat-delay 600
// repeat-rate 25
+
+ // Niri can remember the keyboard layout globally (the default) or per-window.
+ // - "global" - layout change is global for all windows.
+ // - "window" - layout is tracked for each window individually.
+ // track-layout "global"
}
// Next sections include libinput settings.