ttouchpad-toggle - scripts - random scripts (HTM) git clone https://git.parazyd.org/scripts (DIR) Log (DIR) Files (DIR) Refs --- ttouchpad-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