Define environment variable in config #1070

Closed
opened 6 months ago by occivink · 0 comments

Hi,

I would like to be able to define environment variables as part of my foot config. My usecase is that I want to have multiple files with different [colors] values that each define a single colorscheme, and then in the main foot.ini I include whichever colorscheme I want to use at the time.

This already works for the palette colors, but I would like to be able to communicate some extra information to terminal applications, for example whether the current theme is dark or light.
This would allow me to configure the applications further, for when the palette colors are not enough.

For example in kakoune my colorscheme mostly follows the palette colors, but I sometimes want to be able to use the full rgb24, and if I want it not to clash with the rest of the theme I will need some extra info about the theme.

Thanks

Hi, I would like to be able to define environment variables as part of my foot config. My usecase is that I want to have multiple files with different [colors] values that each define a single colorscheme, and then in the main foot.ini I include whichever colorscheme I want to use at the time. This already works for the palette colors, but I would like to be able to communicate some extra information to terminal applications, for example whether the current theme is dark or light. This would allow me to configure the applications further, for when the palette colors are not enough. For example in kakoune my colorscheme mostly follows the palette colors, but I sometimes want to be able to use the full rgb24, and if I want it not to clash with the rest of the theme I will need some extra info about the theme. Thanks
dnkl added the
enhancement
easy
labels 6 months ago
occivink closed this issue 6 months ago
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: dnkl/foot#1070
Loading…
There is no content yet.