Aller au contenu

Gestures

Ce contenu n’est pas encore disponible dans votre langue.

A gesture is a shape drawn while a trigger is held. Shapes are recognised by their directions (direction vectors + DTW, an approach inspired by Gesturefy), so size and speed don’t matter much.

  • Default: mouse_right. Any combination works: ctrl+mouse_left, side, capslock (handy with a trackpad: hold the key, move one finger).
  • Several alternatives with |: mouse_right|ctrl+side.
  • Per window (virgul trigger), per gesture, per group.
  • Refused: the left button alone, keys that type text, motion steps (move-*).
  • A quick or motionless press is replayed as a normal click.

Touchpads are read, never taken over: hold a key (Caps Lock, a side key) and move one finger. Their own buttons can’t be triggers (the compositor makes their clicks); recording one says so.

Draw it a few times: each extra drawing is a variant; the best match counts. Confirming a near miss (a click right after an unrecognised drawing) adds the drawing as a variant automatically.

A scope (app class, title, monitor, workspace — regular expressions of the whole value) and exclusions. The most specific scope wins when two gestures look alike.

Hold the trigger still: the gestures possible here show around the cursor and narrow as you draw.

Practice → Gestures: draw freely and see what would run, or aim at a gesture.