|
|
@ -23,14 +23,15 @@ char *device = "/dev/input/event1"; |
|
|
|
|
|
|
|
|
|
|
|
Gesture gestures[] = { |
|
|
|
Gesture gestures[] = { |
|
|
|
/* nfingers gesturetype command */ |
|
|
|
/* nfingers gesturetype command */ |
|
|
|
{ 1, SwipeLR, EdgeAny, DistanceAny, "xdotool key --clearmodifiers Alt+Shift+e" }, |
|
|
|
//{ 1, SwipeLR, EdgeAny, DistanceAny, "xdotool key --clearmodifiers Alt+Shift+e" },
|
|
|
|
{ 1, SwipeRL, EdgeAny, DistanceAny, "xdotool key --clearmodifiers Alt+Shift+r" }, |
|
|
|
//{ 1, SwipeRL, EdgeAny, DistanceAny, "xdotool key --clearmodifiers Alt+Shift+r" },
|
|
|
|
{ 1, SwipeDLUR, EdgeAny, DistanceAny, "volume up" }, |
|
|
|
//{ 1, SwipeDLUR, EdgeAny, DistanceAny, "volume up" },
|
|
|
|
{ 1, SwipeURDL, EdgeAny, DistanceAny, "volume down" }, |
|
|
|
//{ 1, SwipeURDL, EdgeAny, DistanceAny, "volume down" },
|
|
|
|
{ 1, SwipeDRUL, EdgeAny, DistanceAny, "brightness up" }, |
|
|
|
// { 1, SwipeDRUL, EdgeAny, DistanceAny, "brightness up" },
|
|
|
|
{ 1, SwipeULDR, EdgeAny, DistanceAny, "brightness down" }, |
|
|
|
// { 1, SwipeULDR, EdgeAny, DistanceAny, "brightness down" },
|
|
|
|
{ 2, SwipeLR, EdgeAny, DistanceAny, "xdotool key --clearmodifiers Alt+e" }, |
|
|
|
//{ 2, SwipeLR, EdgeAny, DistanceAny, "xdotool key --clearmodifiers Alt+e" },
|
|
|
|
{ 2, SwipeRL, EdgeAny, DistanceAny, "xdotool key --clearmodifiers Alt+r" }, |
|
|
|
//{ 2, SwipeRL, EdgeAny, DistanceAny, "xdotool key --clearmodifiers Alt+r" },
|
|
|
|
{ 2, SwipeDU, EdgeAny, DistanceAny, "pidof onboard || onboard &" }, |
|
|
|
{ 1, SwipeLR, EdgeLeft, DistanceShort, "rofi -show drun -modi drun -theme themes/launchpad.rasi" }, |
|
|
|
{ 2, SwipeUD, EdgeAny, DistanceAny, "pkill -9 onboard" }, |
|
|
|
{ 2, SwipeDU, EdgeBottom, DistanceShort, "pidof onboard || onboard &" }, |
|
|
|
|
|
|
|
{ 2, SwipeUD, EdgeBottom, DistanceShort, "pkill -9 onboard" }, |
|
|
|
}; |
|
|
|
}; |
|
|
|