blob: 17fd46b815655168505d3e2d5bd0f92049243466 (
plain)
1
2
3
4
5
6
7
8
|
#!/bin/sh
#
#This script toggles the touchpad on a netbook using synclient.
status=`synclient|awk '/TouchpadOff/{printf$3}'`
status=`expr \( $status + 1 \) \% 2`
synclient TouchpadOff=$status
|