summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaghuram Subramani <raghus2247@gmail.com>2023-08-09 20:48:05 +0530
committerRaghuram Subramani <raghus2247@gmail.com>2023-08-09 20:48:05 +0530
commit8cd1a4d7fbf2417c295c1750e2d101a580c9bbf7 (patch)
tree6edfbb46bb60dc88f01a0e97da986477fd643457
parent610bc68bf8fbf327a595a737d2ff3472282b4b6e (diff)
add touchpad configuration
-rw-r--r--30-touchpad.conf6
-rw-r--r--setup_debian.sh3
2 files changed, 9 insertions, 0 deletions
diff --git a/30-touchpad.conf b/30-touchpad.conf
new file mode 100644
index 0000000..86ae81c
--- /dev/null
+++ b/30-touchpad.conf
@@ -0,0 +1,6 @@
+Section "InputClass"
+ Identifier "touchpad catchall"
+ Driver "libinput"
+ Option "Tapping" "on"
+ Option "DisableWhileTyping" "on"
+EndSection
diff --git a/setup_debian.sh b/setup_debian.sh
index 4fdc229..86e7652 100644
--- a/setup_debian.sh
+++ b/setup_debian.sh
@@ -96,5 +96,8 @@ echo 'set completion-ignore-case On' | sudo tee -a /etc/inputrc
# Make systemd ignore power key
echo "HandlePowerKey=ignore" | sudo tee -a /etc/systemd/logind.conf
+# Copy touchpad configuration
+sudo cp 30-touchpad.conf /etc/X11/xorg.conf.d/30-touchpad.conf
+
# Remove The Temporary Directory
rm -rf $TEMP_DIR