2024-01-02 00:59:59 -06:00

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.

Authors