diff options
Diffstat (limited to 'config.def.h')
-rw-r--r-- | config.def.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h index 5884286..1222041 100644 --- a/config.def.h +++ b/config.def.h @@ -19,6 +19,8 @@ static const float monoclecolor[] = COLOR(0xff9900ff); /* This conforms to the xdg-protocol. Set the alpha to zero to restore the old behavior */ static const float fullscreen_bg[] = {0.1f, 0.1f, 0.1f, 1.0f}; /* You can also use glsl colors */ +static const unsigned int swipe_min_threshold = 0; + /* tagging - TAGCOUNT must be no greater than 31 */ #define TAGCOUNT (9) @@ -207,3 +209,10 @@ static const Button buttons[] = { { MODKEY, BTN_MIDDLE, togglefloating, {0} }, { MODKEY, BTN_RIGHT, moveresize, {.ui = CurResize} }, }; + +static const Gesture gestures[] = { + // { MODKEY, SWIPE_LEFT, 4, shiftview, { .i = 1 } }, + // { MODKEY, SWIPE_RIGHT, 4, shiftview, { .i = -1 } }, + { MODKEY, SWIPE_UP, 3, focusstack, {.i = 1} }, + { MODKEY, SWIPE_DOWN, 3, focusstack, {.i = -1} }, +}; |