touchpad done by sxhkd

This commit is contained in:
Luke Smith 2019-05-19 20:55:42 -04:00
parent 5f1c3d48b6
commit 7639a8d8c6
No known key found for this signature in database
GPG key ID: 4C50B54A911F6252
2 changed files with 6 additions and 4 deletions

View file

@ -43,6 +43,12 @@ super + x
mpc pause; pauseallmpv; i3lock -e -f -c 1d2021; xset dpms force off
XF86Launch1
xset dpms force off
XF86TouchpadToggle
(synclient | grep "TouchpadOff.*1" && synclient TouchpadOff=0)>/dev/null || synclient TouchpadOff=1
XF86TouchpadOff
synclient TouchpadOff=1
XF86TouchpadOn
synclient TouchpadOff=0
# Recording
# Take screenshot

View file

@ -1,4 +0,0 @@
#!/bin/sh
# 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."