Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple config files should be merged #594

Open
lunaneff opened this issue Aug 28, 2021 · 1 comment
Open

Multiple config files should be merged #594

lunaneff opened this issue Aug 28, 2021 · 1 comment

Comments

@lunaneff
Copy link

If my main MangoHud.conf contains this:

gpu_temp

and a game-specific config (for example game.conf) contains this:

position=bottom-left

and I run game, the GPU temperature isn't displayed. It would be great if MangoHud merged the configurations in order of priority (so, ~/.config/MangoHud/MangoHud.conf, then ~/.config/MangoHud/game.conf, then /path/to/game/MangoHud.conf) as it would make maintaining the configs easier (you don't have to make the same change to every config file)

lukashoracek added a commit to lukashoracek/MangoHud that referenced this issue Aug 31, 2021
lukashoracek added a commit to lukashoracek/MangoHud that referenced this issue Aug 31, 2021
@GenocideStomper
Copy link

GenocideStomper commented Feb 18, 2025

This would be great to have! I have a generic MangoHud.conf for setting up the elements, colours, shortcuts, etc., and sometimes have game-specific conf files to set a custom fps_limit or display offset.
Was this ever implemented?
It could be as "simple" (nothing is ever simple) as manually referencing another config file from a config file, for example putting something like "MANGOHUD_CONFIGFILE=/path/to/config" or something similar inside a config file as the first line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants