From 4a850be9ff92cfc4d51a423b8f5c7d5637adeda4 Mon Sep 17 00:00:00 2001 From: Minijackson Date: Mon, 31 Mar 2025 13:29:32 +0200 Subject: niri: configure keyboard and touchpad inputs --- usecases/desktop/graphical/niri.kdl | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/usecases/desktop/graphical/niri.kdl b/usecases/desktop/graphical/niri.kdl index aa5e610..07626cc 100644 --- a/usecases/desktop/graphical/niri.kdl +++ b/usecases/desktop/graphical/niri.kdl @@ -9,12 +9,7 @@ input { keyboard { xkb { - // You can set rules, model, layout, variant and options. - // For more information, see xkeyboard-config(7). - - // For example: - // layout "us,ru" - // options "grp:win_space_toggle,compose:ralt,ctrl:nocaps" + layout "fr(oss),us,fr(ergol)" options "compose:caps" } } @@ -23,9 +18,11 @@ input { // Omitting settings disables them, or leaves them at their default values. touchpad { // off - tap - // dwt - // dwtp + // tap + // Disable When Typing + dwt + // Disable When Trackpointing + dwtp // drag-lock natural-scroll // accel-speed 0.2 @@ -551,8 +548,8 @@ binds { // a matching layout switch hotkey configured in xkb options above. // Having both at once on the same hotkey will break the switching, // since it will switch twice upon pressing the hotkey (once by xkb, once by niri). - // Mod+Space { switch-layout "next"; } - // Mod+Shift+Space { switch-layout "prev"; } + Mod+Space { switch-layout "next"; } + Mod+Shift+Space { switch-layout "prev"; } Print { screenshot; } Ctrl+Print { screenshot-screen; } -- cgit v1.2.3