aboutsummaryrefslogtreecommitdiff
path: root/bin/touchpad-toggle
diff options
context:
space:
mode:
Diffstat (limited to 'bin/touchpad-toggle')
-rwxr-xr-xbin/touchpad-toggle12
1 files changed, 0 insertions, 12 deletions
diff --git a/bin/touchpad-toggle b/bin/touchpad-toggle
deleted file mode 100755
index e4dc959..0000000
--- a/bin/touchpad-toggle
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-
-touchpad_name='ETPS/2 Elantech Touchpad'
-
-active="$(xinput list-props "$touchpad_name" | grep 'Device Enabled' | cut -f 3)"
-
-if [ "$active" -eq 1 ]
-then
- xinput disable "$touchpad_name"
-else
- xinput enable "$touchpad_name"
-fi