use $KEYBOARD env variable not hardcoded keyboard setting

Signed-off-by: Anjandev Momi <anjan@momi.ca>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
master
Anjandev Momi 4 years ago committed by Maarten van Gompel
parent 21a3b20144
commit 6271b52705
  1. 4
      config.def.h

@ -31,6 +31,6 @@ Gesture gestures[] = {
{ 1, SwipeULDR, EdgeAny, DistanceAny, "sxmo_brightness.sh down" },
{ 2, SwipeLR, EdgeAny, DistanceAny, "xdotool key --clearmodifiers Alt+e" },
{ 2, SwipeRL, EdgeAny, DistanceAny, "xdotool key --clearmodifiers Alt+r" },
{ 2, SwipeDU, EdgeAny, DistanceAny, "pidof svkbd-sxmo || svkbd-sxmo &" },
{ 2, SwipeUD, EdgeAny, DistanceAny, "pkill -9 svkbd-sxmo" },
{ 2, SwipeDU, EdgeAny, DistanceAny, "pidof $KEYBOARD || $KEYBOARD &" },
{ 2, SwipeUD, EdgeAny, DistanceAny, "pkill -9 $KEYBOARD" },
};

Loading…
Cancel
Save