Set environment variable for tmux and nvim can display current layer, etc. #1372
Closed
thomastthai
started this conversation in
Ideas
Replies: 3 comments 2 replies
|
There are already various integration points with external programs.
|
0 replies
|
I didn't know Kanata had a TCP server! That's even better! |
0 replies
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
To better integrate Kanata with nvim, tmux, or other programs, it would be helpful for Kanata to allow the setting of system environment variables that other programs can read and act on. For example, it would be nice to know which layer I'm on when changing layers. When Kanata switches or toggles a layer, we could use the
multicommand to also includesetenv KANATA-LAYER nav. We can then customize LuaLine to read that KANATA-LAYER to display on the status line for nvim or write some shell script to use with, tmux statusline, Catppuccin, etc.Layer info is just one of many useful cases for TUI and GUI.
All reactions