diff --git a/.local/bin/touchpad b/.local/bin/touchpad new file mode 100755 index 0000000..dbceff9 --- /dev/null +++ b/.local/bin/touchpad @@ -0,0 +1,9 @@ +#!/bin/bash +# xinput disable "Synaptics TM3145-005" +value=$(xinput --list-props "Synaptics TM3145-005" | head -n 2 | tail -c 2) +if [[ $value -eq 0 ]] +then + xinput enable "Synaptics TM3145-005" +else + xinput disable "Synaptics TM3145-005" +fi