#!/bin/dash
if [ $(synclient | awk '/TouchpadOff/ { print $3 }') = "1" ]; then
	synclient TouchpadOff=0
	echo "Touchpad turned on"
else 
	synclient TouchpadOff=1
	echo "Touchpad turned off"
fi
