mirror of
https://github.com/tiyn/dwl-touch.git
synced 2025-11-13 13:49:46 +01:00
applied patch pointer-gestures-unstable-v1
This commit is contained in:
@@ -13,6 +13,7 @@ static const float focuscolor[] = COLOR(0x005577ff);
|
||||
static const float urgentcolor[] = COLOR(0xff0000ff);
|
||||
/* 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)
|
||||
@@ -51,6 +52,13 @@ static const MonitorRule monrules[] = {
|
||||
{ NULL, 0.55f, 1, 1, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, -1, -1 },
|
||||
};
|
||||
|
||||
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} },
|
||||
};
|
||||
|
||||
/* keyboard */
|
||||
static const struct xkb_rule_names xkb_rules = {
|
||||
/* can specify fields: rules, model, layout, variant, options */
|
||||
|
||||
Reference in New Issue
Block a user