mirror of
https://github.com/tiyn/dwl-touch.git
synced 2025-11-13 13:49:46 +01:00
merged gesture patch
This commit is contained in:
@@ -16,6 +16,7 @@ static const float urgentcolor[] = COLOR(0xff0000ff);
|
||||
static const float fullscreen_bg[] = {0.1f, 0.1f, 0.1f, 1.0f}; /* You can also use glsl colors */
|
||||
static int enableautoswallow = 0; /* enables autoswallowing newly spawned clients */
|
||||
static float swallowborder = 1.0f; /* add this multiplied by borderpx to border when a client is swallowed */
|
||||
static const unsigned int swipe_min_threshold = 0;
|
||||
|
||||
/* tagging - TAGCOUNT must be no greater than 31 */
|
||||
#define TAGCOUNT (10)
|
||||
@@ -169,6 +170,13 @@ static const int cursor_timeout = 5;
|
||||
/* helper for spawning shell commands in the pre dwm-5.0 fashion */
|
||||
#define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } }
|
||||
|
||||
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} },
|
||||
};
|
||||
|
||||
/* commands */
|
||||
static const char *termcmd[] = { "st", NULL };
|
||||
static const char *filecmd[] = { "st", "-e", "vifmrun", NULL };
|
||||
|
||||
Reference in New Issue
Block a user