Skip to content
This repository has been archived by the owner on Jan 26, 2024. It is now read-only.

gestures

Gean Marroquin edited this page Nov 24, 2023 · 4 revisions

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

Clone this wiki locally