Add config for touchpads
This commit is contained in:
parent
2557368a45
commit
e2b0cafa1e
@ -27,6 +27,7 @@
|
||||
loop:
|
||||
- { src: "sshd_config", dest: "/etc/ssh/sshd_config", mode: "0644" }
|
||||
- { src: "nomouseaccel.conf", dest: "/etc/X11/xorg.conf.d/90-mouse-acceleration.conf", mode: "0644" }
|
||||
- { src: "touchpad.conf", dest: "/etc/X11/xorg.conf.d/90-touchpad.conf", mode: "0644" }
|
||||
- { src: "i3.desktop", dest: "/usr/share/xsessions/i3-custom.desktop", mode: "0644" }
|
||||
- { src: "startx.desktop", dest: "/usr/share/xsessions/startx-custom.desktop", mode: "0644" }
|
||||
- name: Copy udev rules
|
||||
|
@ -1,6 +1,9 @@
|
||||
# This file managed via Ansible
|
||||
# vim:ft=xf86conf
|
||||
Section "InputClass"
|
||||
Identifier "mouse"
|
||||
MatchIsPointer "yes"
|
||||
# Options
|
||||
Option "AccelProfile" "flat"
|
||||
Option "AccelSpeed" "-1"
|
||||
EndSection
|
||||
|
12
roles/desktop-common/templates/touchpad.conf
Normal file
12
roles/desktop-common/templates/touchpad.conf
Normal file
@ -0,0 +1,12 @@
|
||||
# This file managed via Ansible
|
||||
# vim:ft=xf86conf
|
||||
Section "InputClass"
|
||||
Identifier "touchpad"
|
||||
MatchIsTouchpad "yes"
|
||||
Driver "libinput"
|
||||
# Options
|
||||
Option "DisableWhileTyping" "yes"
|
||||
Option "Tapping" "yes"
|
||||
Option "TappingButtonMap" "lrm" # 1/2/3-finger taps
|
||||
Option "TappingDrag" "yes"
|
||||
EndSection
|
Loading…
Reference in New Issue
Block a user