Guest User

Untitled

a guest
Feb 25th, 2012
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.30 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. touchpad_status=`synclient | grep TouchpadOff | awk '{print $3}'`
  4.  
  5. if [ $touchpad_status == "0" ];
  6.         then
  7.                 synclient TouchpadOff=1
  8.                 echo "TouchpadDisabled"
  9.         else
  10.                 synclient TouchpadOff=0
  11.                 echo "TouchpadEnabled"
  12. fi
Advertisement
Add Comment
Please, Sign In to add comment