mirror of
https://codeberg.org/dwl/dwl-patches.git
synced 2025-09-09 04:34:50 +00:00
766 B
766 B
Description
Add swipe gestures to trigger functions, similar to libinput-gestures. It supports the following gestures: SWIPE_UP
, SWIPE_DOWN
, SWIPE_LEFT
and SWIPE_RIGHT
static const Gesture gestures[] = {
{ SWIPE_LEFT, shiftview, { .i = 1 } },
{ SWIPE_RIGHT, shiftview, { .i = -1 } },
};
NOTE: the example above requires the following patch https://github.com/djpohly/dwl/wiki/shiftview
Download
Apply on top of pointerGesturesUnstableV1 patch.