From ac8d08fcb914771a5ddcd72e3313a5498ed5dca7 Mon Sep 17 00:00:00 2001 From: aszlig Date: Mon, 26 Sep 2022 18:46:42 +0200 Subject: 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 --- machines/aszlig/slylandro.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'machines') 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; } -- cgit 1.4.1