SRHD
I wrote a very minimal little Rust library (for macOS, for now), that listens to keys, and let's you run any kind of shell script. It is exactly like skhd if you have heard of that only in Rust. I like skhd but just wanted a version with a toml config. You can view the source right here and maybe give a star, help a brotha out: https://github.com/SylvanFranklin/srhd
Docs are included on the repo but here is a config example:
# srhd.toml
[[binding]]
key = "a"
command = "open /Applications/Firefox.app" # or any arbitrary shell script
mods = ["command", "option", "shift"]
[[binding]]
key = "equals"
command = "echo 'hello from srhd'"
mods = ["control", "fn", "capslock"]
Top comments (0)