add niri
This commit is contained in:
parent
9be597750d
commit
00ca4baa74
41 changed files with 795 additions and 113 deletions
51
home/afoucaultc/packages/niri/conf/input.nix
Normal file
51
home/afoucaultc/packages/niri/conf/input.nix
Normal 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%";
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue