Conversation
6e3c717 to
b88674b
Compare
b88674b to
33bce36
Compare
|
I keep maintaining my fork: https://github.com/jackielii/skhd. Now support wildcard forwarding in proc map: |
|
Update, I've completed my zig implementation of the skhd, with a few extra features: https://github.com/jackielii/skhd.zig |
|
I can add a link to your version in the readme if you'd like for visibility purposes. As evidenced by my lack of activity in this repo for years at this point I have no intentions of making changes to this repo itself. |
Thanks @koekeishiya , really appreciate it. I plan to add more features to my version, and hopefully support the most demanded feature requests in the issues. |
try to fix #209, fix #204, fix #227.
Pardon the naming, I can't think of a better one, same goes for the
|token.This works by sending the synthetic event with a user data0x12345(feel free to suggest a different one) and If we see the key press with this user data, we ignore it, hence achieve forwarding (hence the naming as we're just forwarding one key press to another).Update:: This now works my modifying the original event and return it directly. This won't trigger another event loop thus preventing skhd from capturing the key press again.
Update: also merged the service updates from upstream into
jackielii/tap/skhd. You can install and start via:Just in case this is not merged, you can try this by compiling locally:
make && ./bin/skhd -V -POr install using my tap:
Config can be simply:
You should see in the log:
The alternative presented in #204 has data races :
When you press
ctrl - 1&ctrl - 2too quickly, you may end up in thetabmode.This PR solves this problem.