diff options
-rw-r--r-- | X11/Xsession.d/90-local-kill-touchpad | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/X11/Xsession.d/90-local-kill-touchpad b/X11/Xsession.d/90-local-kill-touchpad new file mode 100644 index 0000000..392410e --- /dev/null +++ b/X11/Xsession.d/90-local-kill-touchpad @@ -0,0 +1,9 @@ +# Turn off Synaptics-compatible touchpad globally or per session +# +# Depends: xserver-xorg-input-synaptics + +if [ -x /usr/bin/synclient ]; then + if [ -e /etc/kill-touchpad ] || [ -e $HOME/.kill-touchpad ]; then + synclient TouchpadOff=1 + fi +fi |