linux-utils/touchtog
2017-01-23 20:46:57 -05:00

9 lines
158 B
Bash
Executable file

#!/bin/sh
off=$(synclient -l | awk -F '= ' '/TouchpadOff/{print $2}')
if [ $off = 0 ]; then
synclient TouchpadOff=1
else
synclient TouchpadOff=0
fi