3 releases (breaking)
0.4.0 | Oct 29, 2021 |
---|---|
0.2.0 | Oct 27, 2021 |
0.1.0 | Jan 17, 2021 |
#10 in #released
21KB
510 lines
xcape-rs
Rust-powered XCAPE
xcape: https://github.com/alols/xcape
xcape allows you to use a modifier key as another key when pressed and released on its own. Note that it is slightly slower than pressing the original key, because the pressed event does not occur until the key is released.
Usage
$ cargo run -- -h
implement xcape Rust
USAGE:
xcape-rs [FLAGS] [OPTIONS]
FLAGS:
-d, --debug debug flag
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
-e, --expression <map>... format: code=code|code|code
-t, --timeout <timeout> timeout(sec).
Sample
xcape -e '64=38' # alt=space
Todo
- get Keysym from String
Links
- crate.io: https://crates.io/crates/xcape-rs
Dependencies
~7–16MB
~191K SLoC