diff --git a/touchpad_toggle b/touchpad_toggle new file mode 100644 index 0000000..dfba68a --- /dev/null +++ b/touchpad_toggle @@ -0,0 +1,8 @@ +#!/bin/bash + +if [[ $(xinput list 12|grep -c "This device is disabled") == "1" ]]; then + xinput enable 12 +else + xinput disable 12 +fi +