complete revision of gestures, using new edge system
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
This commit is contained in:
parent
72cc974f20
commit
6448587eb8
6 changed files with 192 additions and 21 deletions
|
@ -1,15 +1,42 @@
|
|||
#!/usr/bin/env sh
|
||||
pkill -9 lisgd
|
||||
|
||||
lisgd "$@" \
|
||||
-g '1,LR,sxmo_lisgdonefingercheck.sh xdotool key --clearmodifiers Alt+Shift+e' \
|
||||
-g '1,RL,sxmo_lisgdonefingercheck.sh xdotool key --clearmodifiers Alt+Shift+r' \
|
||||
-g '1,DLUR,sxmo_lisgdonefingercheck.sh sxmo_vol.sh up' \
|
||||
-g '1,URDL,sxmo_lisgdonefingercheck.sh sxmo_vol.sh down' \
|
||||
-g '1,DRUL,sxmo_lisgdonefingercheck.sh sxmo_brightness.sh up' \
|
||||
-g '1,ULDR,sxmo_lisgdonefingercheck.sh sxmo_brightness.sh down' \
|
||||
-g '2,LR,xdotool key --clearmodifiers Alt+e' \
|
||||
-g '2,RL,xdotool key --clearmodifiers Alt+r' \
|
||||
-g "2,DU,pidof $KEYBOARD || $KEYBOARD &" \
|
||||
-g "2,UD,pkill -9 $KEYBOARD" \
|
||||
&
|
||||
if [ -x "$XDG_CONFIG_HOME"/sxmo/hooks/lisgdstart ]; then
|
||||
"$XDG_CONFIG_HOME"/sxmo/hooks/lisgdstart &
|
||||
else
|
||||
#-g format:
|
||||
# fingers,swipe,edge,distance,command
|
||||
#order matters, only the first match gets executed
|
||||
lisgd "$@" -t 200 \
|
||||
-g '1,DRUL,BR,*,sxmo_hotcorner.sh bottomright' \
|
||||
-g '1,DLUR,BL,*,sxmo_hotcorner.sh bottomleft' \
|
||||
-g '1,ULDR,TL,*,sxmo_hotcorner.sh topleft' \
|
||||
-g '1,DRUL,TR,*,sxmo_hotcorner.sh topright' \
|
||||
-g '1,LR,B,L,sxmo_gesturehandler.sh enter' \
|
||||
-g '1,RL,B,L,sxmo_gesturehandler.sh back' \
|
||||
-g '1,LR,L,*,sxmo_gesturehandler.sh prevdesktop' \
|
||||
-g '1,RL,R,*,sxmo_gesturehandler.sh nextdesktop' \
|
||||
-g '1,DU,L,L,sxmo_gesturehandler.sh unmute' \
|
||||
-g '1,UD,L,L,sxmo_gesturehandler.sh mute' \
|
||||
-g '1,DU,L,*,sxmo_gesturehandler.sh volup' \
|
||||
-g '1,UD,L,*,sxmo_gesturehandler.sh voldown' \
|
||||
-g '1,LR,T,*,sxmo_gesturehandler.sh brightnessup' \
|
||||
-g '1,RL,T,*,sxmo_gesturehandler.sh brightnessdown' \
|
||||
-g "1,DU,B,*,sxmo_gesturehandler.sh showkeyboard" \
|
||||
-g "1,UD,B,*,sxmo_gesturehandler.sh hidekeyboard" \
|
||||
-g "1,UD,T,*,sxmo_gesturehandler.sh showmenu" \
|
||||
-g "1,DU,T,*,sxmo_gesturehandler.sh hidemenu" \
|
||||
-g "2,UD,T,*,sxmo_gesturehandler.sh showsysmenu" \
|
||||
-g "2,UD,B,*,sxmo_gesturehandler.sh killwindow" \
|
||||
-g '2,LR,*,*,sxmo_gesturehandler.sh moveprevdesktop' \
|
||||
-g '2,RL,*,*,sxmo_gesturehandler.sh movenextdesktop' \
|
||||
-g '1,DU,R,L,sxmo_gesturehandler.sh scrollup_long' \
|
||||
-g '1,UD,R,L,sxmo_gesturehandler.sh scrolldown_long' \
|
||||
-g '1,DU,R,M,sxmo_gesturehandler.sh scrollup_med' \
|
||||
-g '1,UD,R,M,sxmo_gesturehandler.sh scrolldown_med' \
|
||||
-g '1,DU,R,S,sxmo_gesturehandler.sh scrollup_short' \
|
||||
-g '1,UD,R,S,sxmo_gesturehandler.sh scrolldown_short' \
|
||||
-g '1,LR,R,S,sxmo_gesturehandler.sh scrollright_short' \
|
||||
-g '1,RL,L,S,sxmo_gesturehandler.sh scrollleft_short' \
|
||||
&
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue