scripts

random scripts
git clone https://git.parazyd.org/scripts
Log | Files | Refs

touchpad-toggle (148B)


      1 #!/bin/sh
      2 
      3 if [ $(synclient -l | mawk -F '= ' '/TouchpadOff/ { print $2 }') -eq 0 ];
      4 then
      5 	synclient TouchpadOff=1
      6 else
      7 	synclient TouchpadOff=0
      8 fi