aboutsummaryrefslogtreecommitdiff
path: root/touchpad.sh
diff options
context:
space:
mode:
Diffstat (limited to 'touchpad.sh')
-rwxr-xr-xtouchpad.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/touchpad.sh b/touchpad.sh
index 0d30c4c..377dc1f 100755
--- a/touchpad.sh
+++ b/touchpad.sh
@@ -2,5 +2,6 @@
# Toggles the touchpad
-device="PS/2 Generic Mouse"
+ device="ETPS/2 Elantech Touchpad"
+#device="PS/2 Generic Mouse"
[ "$(xinput --list-props "$device" | grep -e "Device Enabled (.*):.*1")" ] && xinput disable "$device" || xinput enable "$device"