From 580a6f6c31a072cee0c97aed58fe13ce8e9ff5a6 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Sun, 29 Jul 2018 12:16:54 -0400 Subject: toggle touchpad binding and fixes --- .scripts/toggletouchpad | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 .scripts/toggletouchpad (limited to '.scripts/toggletouchpad') diff --git a/.scripts/toggletouchpad b/.scripts/toggletouchpad new file mode 100755 index 0000000..bbb4110 --- /dev/null +++ b/.scripts/toggletouchpad @@ -0,0 +1,4 @@ +#!/bin/bash +# Toggle touchpad. Requires xf86-input-synaptics. +(synclient | grep TouchpadOff.*1 && synclient TouchpadOff=0)>/dev/null && echo "TouchPad reactivated." && exit +synclient TouchpadOff=1 && echo "TouchPad deactivated." -- cgit v1.3.1