fix: make more intuitive gestures for osk

This commit is contained in:
matt1432 2023-05-31 13:37:42 -04:00
parent 03accde078
commit bb224a4046

View file

@ -7,7 +7,8 @@ function gestures {
lisgd -d /dev/input/by-path/platform-AMDI0010\:00-event -o 0 -t 125 -r 25 -m 3200 \ lisgd -d /dev/input/by-path/platform-AMDI0010\:00-event -o 0 -t 125 -r 25 -m 3200 \
-g "3,RL,N,*,R,$HOME/.config/sway/scripts/gestures.sh next touch" \ -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 "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" -g "1,UD,B,*,R,bash -c 'busctl call --user sm.puri.OSK0 /sm/puri/OSK0 sm.puri.OSK0 SetVisible b false'" \
-g "1,DU,B,*,R,bash -c 'busctl call --user sm.puri.OSK0 /sm/puri/OSK0 sm.puri.OSK0 SetVisible b true'"
} }
if pgrep lisgd ; then if pgrep lisgd ; then