diff --git a/config.def.h b/config.def.h index 2ce9c44..2e4d8a8 100644 --- a/config.def.h +++ b/config.def.h @@ -25,12 +25,12 @@ Gesture gestures[] = { /* nfingers gesturetype command */ { 1, SwipeLR, EdgeAny, DistanceAny, "xdotool key --clearmodifiers Alt+Shift+e" }, { 1, SwipeRL, EdgeAny, DistanceAny, "xdotool key --clearmodifiers Alt+Shift+r" }, - { 1, SwipeDLUR, EdgeAny, DistanceAny, "sxmo_vol.sh up" }, - { 1, SwipeURDL, EdgeAny, DistanceAny, "sxmo_vol.sh down" }, - { 1, SwipeDRUL, EdgeAny, DistanceAny, "sxmo_brightness.sh up" }, - { 1, SwipeULDR, EdgeAny, DistanceAny, "sxmo_brightness.sh down" }, + { 1, SwipeDLUR, EdgeAny, DistanceAny, "volume up" }, + { 1, SwipeURDL, EdgeAny, DistanceAny, "volume down" }, + { 1, SwipeDRUL, EdgeAny, DistanceAny, "brightness up" }, + { 1, SwipeULDR, EdgeAny, DistanceAny, "brightness down" }, { 2, SwipeLR, EdgeAny, DistanceAny, "xdotool key --clearmodifiers Alt+e" }, { 2, SwipeRL, EdgeAny, DistanceAny, "xdotool key --clearmodifiers Alt+r" }, - { 2, SwipeDU, EdgeAny, DistanceAny, "pidof $KEYBOARD || $KEYBOARD &" }, - { 2, SwipeUD, EdgeAny, DistanceAny, "pkill -9 $KEYBOARD" }, + { 2, SwipeDU, EdgeAny, DistanceAny, "pidof onboard || onboard &" }, + { 2, SwipeUD, EdgeAny, DistanceAny, "pkill -9 onboard" }, }; diff --git a/lisgd.c b/lisgd.c index 28e4af3..160bc5a 100644 --- a/lisgd.c +++ b/lisgd.c @@ -60,7 +60,7 @@ typedef struct { } Gesture; /* Config */ -#include "config.h" +#include "config.def.h" /* Globals */ Gesture *gestsarr;