fix: make gesture script do touch fix only when touchscreen is used

This commit is contained in:
matt1432 2023-05-29 23:09:15 -04:00
parent 7f4bf28974
commit 8eabd0d05a
4 changed files with 11 additions and 6 deletions
lisgd

View file

@ -5,8 +5,9 @@
function gestures {
lisgd -d /dev/input/by-path/platform-AMDI0010\:00-event -o 0 -t 125 -r 25 -m 3200 \
-g "3,RL,N,S,R,$HOME/.config/sway/scripts/gestures.sh next" \
-g "3,LR,N,S,R,$HOME/.config/sway/scripts/gestures.sh prev"
-g "3,RL,N,*,R,$HOME/.config/sway/scripts/gestures.sh next touch" \
-g "3,LR,N,*,R,$HOME/.config/sway/scripts/gestures.sh prev touch" \
-g "1,DU,B,*,R,$HOME/.config/sway/scripts/tablet/osk-toggle.sh"
}
if pgrep lisgd ; then