summaryrefslogtreecommitdiff
path: root/touchpadd-toggle.sh
blob: 368158f52ae263506fcb059941bea5050e19900a (plain) (blame)
1
2
3
4
5
6
7
#!/bin/sh

if [ $(synclient -l | grep TouchpadOff | awk '{ print $3 }') = 1 ] ; then
    synclient touchpadoff=0
else
    synclient touchpadoff=1
fi