From becb663b4f53033f11574282882ae5a97bc7eb15 Mon Sep 17 00:00:00 2001 From: Anton Bobov Date: Wed, 13 Jan 2016 16:38:07 +0500 Subject: Touchpad toggle utility. --- touchpadd-toggle.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 touchpadd-toggle.sh (limited to 'touchpadd-toggle.sh') diff --git a/touchpadd-toggle.sh b/touchpadd-toggle.sh new file mode 100755 index 0000000..368158f --- /dev/null +++ b/touchpadd-toggle.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +if [ $(synclient -l | grep TouchpadOff | awk '{ print $3 }') = 1 ] ; then + synclient touchpadoff=0 +else + synclient touchpadoff=1 +fi -- cgit v1.2.3