Add 'input.keyboard.track_layout' config option

Track layout for each window individually when user requested `Window`
tracking mode, keeping the default as global.
This commit is contained in:
Kirill Chibisov
2023-11-02 00:10:22 +04:00
committed by Ivan Molodetskikh
parent eb7d20c638
commit 907e0a03ef
3 changed files with 57 additions and 4 deletions
+5
View File
@@ -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.