aboutsummaryrefslogtreecommitdiff
path: root/touchpad.sh
diff options
context:
space:
mode:
authorInigoGutierrez <inigogf.95@gmail.com>2019-10-29 19:51:58 +0100
committerInigoGutierrez <inigogf.95@gmail.com>2019-10-29 19:51:58 +0100
commit38110ef852373765de0c738aa54587b9ee640389 (patch)
treeddab8ea8b2338235b969d90665d1cd3fcc668cae /touchpad.sh
parent756f1c152ef3ca8f34a6f419b19b3ac254a5ada2 (diff)
downloadscripts-38110ef852373765de0c738aa54587b9ee640389.tar.gz
scripts-38110ef852373765de0c738aa54587b9ee640389.zip
Random changes.
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"