Change commands to my shell scripts

master
Jonathan Hodgson 4 years ago
parent 6271b52705
commit a03785db58
  1. 12
      config.def.h
  2. 2
      lisgd.c

@ -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" },
};

@ -60,7 +60,7 @@ typedef struct {
} Gesture;
/* Config */
#include "config.h"
#include "config.def.h"
/* Globals */
Gesture *gestsarr;

Loading…
Cancel
Save