Skip to content

include a file based on environment variables such as "include ${HOSTNAME}-font.conf" #6991

Answered by kovidgoyal
benibilme asked this question in Q&A
Discussion options

You must be logged in to vote

Just because it isnt in your personal rc files doesnt mean its not in one of the system ones. Allowing command execution in conf files makes parsing and loading config slow and non-static. It isnt really worth the tradeoff. If you really want something like that simply make a wrapper script to run kitty in that script use whatever commands you like to generate your config and either directly pass it to kitty via --config or use --override

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@kovidgoyal
Comment options

Answer selected by benibilme
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants