emersion / emersion/mako

Support reading environment variables in the config file

Open
#598 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
C
Stars
3.3k
Forks
173
PR merge metrics
No merged PRs in 30d

Description

For loading multiple configs you can pass in `include=~/hello/world/dotfiles/.config/mako/config` which is very handy to keep 1 main config file in 1 spot but allow you to override specific colors for different themes. This works wonderfully as is.

However, it means hard coding `~/hello/world/dotfiles`. It would be nice if mako supported reading environment variables so you can do `include=$DOTFILES_PATH/.config/mako/config` instead. This avoids hard coding user specific paths for folks who have dotfiles that are public and are used by others.

Hyprland supports this style of reading environment variables with its `source` property btw.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.