From bb224a40468285af020fb98ad3833f793b0e1457 Mon Sep 17 00:00:00 2001 From: matt1432 Date: Wed, 31 May 2023 13:37:42 -0400 Subject: [PATCH] fix: make more intuitive gestures for osk --- lisgd/config | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisgd/config b/lisgd/config index 2b8eaf15..28009a3d 100755 --- a/lisgd/config +++ b/lisgd/config @@ -7,7 +7,8 @@ function gestures { 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,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