touchpad done by sxhkd
This commit is contained in:
parent
5f1c3d48b6
commit
7639a8d8c6
2 changed files with 6 additions and 4 deletions
|
@ -43,6 +43,12 @@ super + x
|
||||||
mpc pause; pauseallmpv; i3lock -e -f -c 1d2021; xset dpms force off
|
mpc pause; pauseallmpv; i3lock -e -f -c 1d2021; xset dpms force off
|
||||||
XF86Launch1
|
XF86Launch1
|
||||||
xset dpms force off
|
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
|
# Recording
|
||||||
# Take screenshot
|
# Take screenshot
|
||||||
|
|
|
@ -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."
|
|
Loading…
Reference in a new issue