Skip to content
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

[Feature Request] Kmonad API for programmatic layer switching #819

Open
reidprichard opened this issue Feb 20, 2024 · 0 comments
Open

[Feature Request] Kmonad API for programmatic layer switching #819

reidprichard opened this issue Feb 20, 2024 · 0 comments

Comments

@reidprichard
Copy link

Another excellent keymap utility, Kanata, exposes a TCP server that allows the user to set the active layer by sending a JSON message of the form: {"ChangeLayer":{"new":"new-layer-name"}}.

This opens a world of possibilities by allowing external daemons to dynamically change the active layer. This enables things like application-specific keybinds (see 1, 2, 3) without burdening kmonad devs. I've bounced back and forth between Kmonad and Kanata but ultimately the application-specific binds were the deciding factor.

Would implementing some sort of API be possible?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant