summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEkaitz Zarraga <ekaitz@elenq.tech>2021-01-14 17:19:48 +0100
committerEkaitz Zarraga <ekaitz@elenq.tech>2021-01-14 17:19:48 +0100
commit2aad80bfde7d337063cd6c07b59410dfce880a22 (patch)
treea013fa87e15963e3ebcefa539abf6d283384c0cc
parentb65d65dc4b9e341f92b54fde292ba8d8ada63cb8 (diff)
Configure touchpads to have tapping
-rw-r--r--config.scm15
1 files changed, 14 insertions, 1 deletions
diff --git a/config.scm b/config.scm
index 114a19e..ce4e561 100644
--- a/config.scm
+++ b/config.scm
@@ -96,7 +96,20 @@
(xorg-configuration
(keyboard-layout keyboard-layout)
(modules (append %default-xorg-modules
- (list xf86-input-wacom)))))
+ (list xf86-input-wacom)))
+ (extra-config
+ '("\n"
+ "\n"
+ "Section \"InputClass\"\n"
+ " Identifier \"libinput touchpad catchall\"\n"
+ " Driver \"libinput\"\n"
+ " MatchIsTouchpad \"on\"\n"
+ " MatchDevicePath \"/dev/input/event*\"\n"
+ " Option \"Tapping\" \"on\"\n"
+ " Option \"TappingDrag\" \"on\"\n"
+ " Option \"DisableWhileTyping\" \"on\"\n"
+ "EndSection\n"
+ ))))
; Removes ModemManager because it interferes with USB
; development. If using a 3/4G modem or something we have
; to activate it.