Start lisgd via a script instead of directly so changing gestures is simpler

This commit is contained in:
Miles Alan 2020-06-26 19:56:15 -05:00
parent 061d253838
commit 60963cd20c
3 changed files with 19 additions and 4 deletions

15
scripts/core/sxmo_lisgdstart.sh Executable file
View file

@ -0,0 +1,15 @@
#!/usr/bin/env sh
pkill -9 lisgd
lisgd $@ \
-g '1,LR,xdotool key --clearmodifiers Alt+Shift+e' \
-g '1,RL,xdotool key --clearmodifiers Alt+Shift+r' \
-g '1,DLUR,sxmo_vol.sh up' \
-g '1,URDL,sxmo_vol.sh down' \
-g '1,DRUL,sxmo_brightness.sh up' \
-g '1,ULDR,sxmo_brightness.sh down' \
-g '2,LR,xdotool key --clearmodifiers Alt+e' \
-g '2,RL,xdotool key --clearmodifiers Alt+r' \
-g '2,DU,pidof svkbd-sxmo || svkbd-sxmo &' \
-g '2,UD,pkill -9 svkbd-sxmo' \
&