This commit is contained in:
afoucaultc 2026-08-07 20:04:22 +02:00
parent 9be597750d
commit 00ca4baa74
41 changed files with 795 additions and 113 deletions

View file

@ -0,0 +1,51 @@
{ ... }:
{
programs.niri.settings.input = {
keyboard = {
xkb = {
layout = "fr";
variant = "";
model = "";
rules = "";
options = "caps:escape";
};
repeat-delay = 600;
repeat-rate = 25;
track-layout = "global";
numlock = true;
};
touchpad = {
off = true;
tap = true;
dwt = true;
dwtp = true;
drag = true;
drag-lock = false;
natural-scroll = true;
accel-speed = 0.0;
accel-profile = "adaptive";
scroll-method = "two-finger";
tap-button-map = "left-middle-right";
click-method = "clickfinger";
middle-emulation = false;
scroll-factor = 1.2;
};
mouse = {
natural-scroll = false;
accel-speed = -0.3;
accel-profile = "flat";
scroll-factor = 1.2;
scroll-method = null;
};
mouse-scroll-factor = 1.0;
touchpad-scroll-factor = 1.0;
focus-follows-mouse = {
enable = true;
# max-scroll-amount = "0%";
};
};
}