Set environment variable for tmux and nvim can display current layer, etc. #1372
Closed
thomastthai
started this conversation in
Ideas
Replies: 3 comments
-
There are already various integration points with external programs.
|
Beta Was this translation helpful? Give feedback.
0 replies
-
I didn't know Kanata had a TCP server! That's even better! |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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
multi
command 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.
Beta Was this translation helpful? Give feedback.
All reactions