dotfiles-mirror/dwl/dwl-patches/patches/gestures
2026-02-17 22:49:02 +03:30
..
gestures.patch update 2026-02-17 22:49:02 +03:30
README.md update 2026-02-17 22:49:02 +03:30

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

NOTE: It requires that you have previously applied pointer-gestures-unstable-v1

static const Gesture gestures[] = {
  /* modifier gesture       fingers_count   function    argument */
  { MODKEY,   SWIPE_LEFT,   4,              shiftview,  { .i = 1 } },
  { 0,        SWIPE_RIGHT,  4,              shiftview,  { .i = -1 } },
};

NOTE: the example above requires the following patch shiftview

Download

Authors