diff options
author | aszlig <aszlig@nix.build> | 2022-09-26 18:46:42 +0200 |
---|---|---|
committer | aszlig <aszlig@nix.build> | 2022-09-26 19:15:19 +0200 |
commit | ac8d08fcb914771a5ddcd72e3313a5498ed5dca7 (patch) | |
tree | 3e0ad1a3f7503f652687844b84dec575f9bb87fd /machines/aszlig/slylandro.nix | |
parent | 0ce3788e373cc3688f0c5e8bbfcbbce10401075c (diff) |
slylandro: Add libinput config for touchpad
I never got really used to the "buttonareas" click method and while "clickfinger" does have some disadvantages (eg. dragging is much more difficult without drag lock), in most other cases I find the clickfinger method a lot more convenient, since it usually only requires one hand to operate. Since we have clickfinger enabled, I also don't see a point in enabling middle click emulation since three fingers already count for a real middle click. Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'machines/aszlig/slylandro.nix')
-rw-r--r-- | machines/aszlig/slylandro.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/machines/aszlig/slylandro.nix b/machines/aszlig/slylandro.nix index 2ebc74f4..a673fb19 100644 --- a/machines/aszlig/slylandro.nix +++ b/machines/aszlig/slylandro.nix @@ -73,5 +73,11 @@ services.xserver.videoDrivers = [ "amdgpu" ]; services.xserver.libinput.enable = true; + services.xserver.libinput.touchpad = { + clickMethod = "clickfinger"; + sendEventsMode = "disabled-on-external-mouse"; + middleEmulation = false; + }; + nix.settings.max-jobs = 16; } |