From 70385eb2326005a66b21ac84107faed7f6ae1685 Mon Sep 17 00:00:00 2001 From: Markus Katharina Brechtel Date: Sat, 9 Jan 2021 18:13:58 +0100 Subject: [PATCH] touchpad config --- tasks/main.yaml | 6 ++++++ templates/touchpad.conf.j2 | 7 +++++++ 2 files changed, 13 insertions(+) create mode 100644 tasks/main.yaml create mode 100644 templates/touchpad.conf.j2 diff --git a/tasks/main.yaml b/tasks/main.yaml new file mode 100644 index 0000000..d5af4a5 --- /dev/null +++ b/tasks/main.yaml @@ -0,0 +1,6 @@ +--- + +- name: xorg touchpad config + template: + src: touchpad.conf.j2 + dest: /etc/X11/xorg.conf.d/30-touchpad.conf diff --git a/templates/touchpad.conf.j2 b/templates/touchpad.conf.j2 new file mode 100644 index 0000000..fc5f6e1 --- /dev/null +++ b/templates/touchpad.conf.j2 @@ -0,0 +1,7 @@ +Section "InputClass" + Identifier "touchpad" + Driver "libinput" + MatchIsTouchpad "on" + Option "Tapping" "on" + Option "TappingButtonMap" "lrm" +EndSection