From c991381d6e6d62ef475bcd7d533cbf0b26656aaa Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Mon, 25 Jan 2016 12:57:35 +0000 Subject: Add key to disable touchpad --- bin/touchpad | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 bin/touchpad (limited to 'bin') diff --git a/bin/touchpad b/bin/touchpad new file mode 100755 index 0000000..17649fa --- /dev/null +++ b/bin/touchpad @@ -0,0 +1,9 @@ +#! /usr/bin/env bash + +# Touchpad status +status=$(synclient -l | grep TouchpadOff) +if [[ $status = *1 ]]; then + synclient TouchpadOff=0 +elif [[ $status = *0 ]]; then + synclient TouchpadOff=1 +fi -- cgit v1.2.3