Add touchpad_toggle
This commit is contained in:
8
touchpad_toggle
Normal file
8
touchpad_toggle
Normal 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
|
||||||
|
|
||||||
Reference in New Issue
Block a user