From 56560fd597f94dfe6fe5fa79648398ab29d05775 Mon Sep 17 00:00:00 2001 From: xero Date: Mon, 14 Jul 2014 13:23:05 -0400 Subject: updated repo to manage dotfiles via gnu stow, the symlink farm manager. happy birthday commit! :birthday: :sparkles: --- code/sys/toggle-touchpad.sh | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100755 code/sys/toggle-touchpad.sh (limited to 'code/sys/toggle-touchpad.sh') diff --git a/code/sys/toggle-touchpad.sh b/code/sys/toggle-touchpad.sh deleted file mode 100755 index 2381a86..0000000 --- a/code/sys/toggle-touchpad.sh +++ /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 -- cgit v1.2.1