-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How about Hot Key? #28
Comments
Instead of adding global keybind to kanata-tray itself (this would be platform-dependent, and on linux also DE/WM-dependent), an easier solution would be to bind a key in kanata to send a custom tcp event, and then listen for it in kanata-tray. Kanata already has a way to send custom messages via tcp https://github.com/jtroo/kanata/blob/ac27bdb58b28ac915964aad273a186e7a9d8d9ce/tcp_protocol/src/lib.rs#L11C5-L11C16, so only kanata-tray side implementation would be needed |
I just realized, that only stopping (aka pausing) would be possible this way. Unpausing won't be able to work, because kanata will not be working. |
2 other ideas:
|
While I change the space to space_fn, it works bad on some games like Don't Starve, and some software like PS.
Will you add hot key to start/stop a configurations?
The text was updated successfully, but these errors were encountered: