about summary refs log tree commit diff
path: root/machines/aszlig
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2022-09-26 18:46:42 +0200
committeraszlig <aszlig@nix.build>2022-09-26 19:15:19 +0200
commitac8d08fcb914771a5ddcd72e3313a5498ed5dca7 (patch)
tree3e0ad1a3f7503f652687844b84dec575f9bb87fd /machines/aszlig
parent0ce3788e373cc3688f0c5e8bbfcbbce10401075c (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')
-rw-r--r--machines/aszlig/slylandro.nix6
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;
 }