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

Find configs also from XDG_CONFIG_DIRS #24

Open
jluttine opened this issue Apr 26, 2020 · 0 comments
Open

Find configs also from XDG_CONFIG_DIRS #24

jluttine opened this issue Apr 26, 2020 · 0 comments

Comments

@jluttine
Copy link

Great that rofi-file-browser looks for the default config in the standard location under $XDG_USER_CONFIG_DIR. However, this is only the user config directory. It would be nice if rofi-file-browser also respected standard system config directories given in $XDG_CONFIG_DIRS. This way it'd be possible to define system-wide defaults (for instance, in a desktop environment).

I guess it would make most sense if the both the user and system config files are taken into account by merging them so that the user configs override the values in the system config. Not so that the system config file is ignored entirely if a user config file exists. But what if multiple of those system config dirs contain a config file? Should only the first path be used or should they be merged too? I wonder if there's some standard practice for this.

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

1 participant