1

Add touchpad_toggle

This commit is contained in:
eleksir
2020-03-15 21:04:40 +03:00
parent 0cbe1eb7a0
commit 0324616c01

8
touchpad_toggle Normal file
View File

@@ -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