dotfiles/dot_config/sway/bin/executable_toggletouchpad.sh

6 lines
119 B
Bash
Executable File

if synclient -l | grep "TouchpadOff .*=.*0" ; then
synclient TouchpadOff=1 ;
else
synclient TouchpadOff=0 ;
fi