This is a program for intercepting touchpad gestures and executing commands based on them.
Unlike some alternatives, it directly uses the libinput api rather than parsing the output
of libinput debug-events
.
gestures
is able to handle libinput swipe events; not only vertical and horizontal but diagonal
as well.
- [x] Handle libinput events
- [x] Swipe events; vertical, horizontal and diagonal
- [x] Pinch events
- [ ] Hold events
- [ ] Rotate events
- [ ] Continuous and one-shot events (currently only continuous is supported)
- [x] Config file
See config.md for configuration instructions.
Clone the repo
git clone https://github.com/riley-martin/gestures
Build
cargo build --release
Copy gestures/target/release/gestures
to a convenient place and execute it
Here are some alternatives that may suit your use case better, as well as the reasons I don't use them.
libinput debug-events
rather than using libinput api, which is less memory and cpu efficientlibinput debug-events
output