NiKaro127

TouchpadToogle

Feb 8th, 2013
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.15 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. state=`synclient -l | grep TouchpadOff`
  4.  
  5. if [[ $state == *'0' ]]; then
  6.     synclient TouchpadOff=1
  7. else
  8.     synclient TouchpadOff=0
  9. fi
Advertisement
Add Comment
Please, Sign In to add comment