toggle touchpad binding and fixes

This commit is contained in:
Luke Smith
2018-07-29 12:16:54 -04:00
parent abdfebe38a
commit 580a6f6c31
2 changed files with 7 additions and 3 deletions

4
.scripts/toggletouchpad Executable file
View File

@@ -0,0 +1,4 @@
#!/bin/bash
# Toggle touchpad. Requires xf86-input-synaptics.
(synclient | grep TouchpadOff.*1 && synclient TouchpadOff=0)>/dev/null && echo "TouchPad reactivated." && exit
synclient TouchpadOff=1 && echo "TouchPad deactivated."