Disable ligsd 1 finger gestures while using foxtrotgps
这个提交存在于:
父节点
60963cd20c
当前提交
b80ce9e872
共有 2 个文件被更改,包括 14 次插入 和 6 次删除
|
@ -0,0 +1,8 @@
|
|||
#!/usr/bin/env sh
|
||||
ACTIVEWIN="$(xdotool getactivewindow)"
|
||||
WMCLASS="$(xprop -id "$ACTIVEWIN" | grep WM_CLASS | cut -d ' ' -f3-)"
|
||||
|
||||
# E.g. just a check to ignore 1-finger gestures in foxtrotgps
|
||||
if echo "$WMCLASS" | grep -vi foxtrot; then
|
||||
$@
|
||||
fi
|
|
@ -2,12 +2,12 @@
|
|||
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 '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 svkbd-sxmo || svkbd-sxmo &' \
|
||||
|
|
正在加载…
添加表格
添加链接
在新工单中引用