User avatar
leah mehfortrout neocat_flag_disabled @leah@icu.weew.ooo
1y
man page section @jeder @MiaWinter @novenary @mikoto
# man 5 sway:
# bindgesture [--exact] [--input-device=<device>] [--no-warn] <gesture>[:<fingers>][:directions] <command>
# Binds gesture to execute the sway command command when detected. Currently supports the hold, pinch  or  swipe  gesture.
# Optionally  can  be  limited  to bind to a certain number of fingers or, for a pinch or swipe gesture, to certain direc‐
# tions.

# ┌───────┬─────────┬────────────────────────────────────────────────────────────────────────────────────────────────────────┐
# │ type  │ fingers │ direction                                                                                              │
# ├───────┼─────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────┤
# │ hold  │  1 - 5  │ none                                                                                                   │
# ├───────┼─────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────┤
# │ swipe │  3 - 5  │ up, down, left, right                                                                                  │
# ├───────┼─────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────┤
# │ pinch │  2 - 5  │ all above + inward, outward, clockwise, counterclockwise                                               │
# └───────┴─────────┴────────────────────────────────────────────────────────────────────────────────────────────────────────┘