aboutsummaryrefslogtreecommitdiff
path: root/sys/code/sys/toggle-touchpad
diff options
context:
space:
mode:
Diffstat (limited to 'sys/code/sys/toggle-touchpad')
-rwxr-xr-xsys/code/sys/toggle-touchpad20
1 files changed, 0 insertions, 20 deletions
diff --git a/sys/code/sys/toggle-touchpad b/sys/code/sys/toggle-touchpad
deleted file mode 100755
index 2381a86..0000000
--- a/sys/code/sys/toggle-touchpad
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/bash
-#
-# enable/disable touchpad
-# find your touchpad name:
-# egrep -i 'synap|alps|etps' /proc/bus/input/devices
-PAD='SynPS/2 Synaptics TouchPad'
-A=`xinput list-props "$PAD" | sed -n -e 's/.*Device Enabled ([0-9][0-9]*):\t\(.*\)/\1/p' `
-if [ $A -eq 1 ]; then
-xinput set-int-prop "$PAD" "Device Enabled" 8 0
-notify-send -t 5000 \
-' touchpad
-░░▒▒▓▓██▓▓▒▒░░' \
-' disabled'
-else
-xinput set-int-prop "$PAD" "Device Enabled" 8 1
-notify-send -t 5000 \
-' touchpad
-░░▒▒▓▓██▓▓▒▒░░' \
-' enabled'
-fi