Gestures
[gestures] maps a recorded stroke to a Kanade verb. The mapping is config-file only, and the verb must act on the shell or the session’s state.
| Key | Type | Default | Notes |
|---|---|---|---|
gestures.<name> |
Kanade verb | unset | Gesture name = the verb it runs, like "island collapse"; file only |
[gestures]check = "island collapse"circle = "launcher open"kanade gesture record check # draw the stroke three timeskanade gesture list # each recorded gesture with the verb it runskanade gesture forget checkA name is 1 to 32 letters, digits, - or _, and the strokes are stored in $XDG_STATE_HOME/kanade/gestures.toml.
Recognition uses one stroke: its start and direction matter, so a circle drawn clockwise is not one drawn counterclockwise. A stroke under 60 px long matches nothing, and a gesture of several strokes is not supported.
See also
Section titled “See also”Keybinds, CLI, and gesture gaps.
