mirror of https://github.com/tiyn/dotfiles
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
306 B
8 lines
306 B
#!/bin/sh
|
|
|
|
# Toggle touchpad. Requires xf86-input-synaptics.
|
|
# by lukesmithxyz, checkout github.com/lukesmithxyz/voidrice
|
|
|
|
(synclient | grep "TouchpadOff.*1" && synclient TouchpadOff=0)>/dev/null && notify-send "TouchPad reactivated." && exit
|
|
synclient TouchpadOff=1 && notify-send "TouchPad deactivated."
|