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

Add XDG base dir support #105

Merged
merged 4 commits into from
Sep 18, 2021
Merged

Add XDG base dir support #105

merged 4 commits into from
Sep 18, 2021

Conversation

markhuge
Copy link
Contributor

@markhuge markhuge commented Sep 14, 2021

Add support for XDG_CONFIG_HOME

Try to locate rc file in XDG_CONFIG_HOME

Fall through to the current default of ~/.wavemonrc.

Copy link
Contributor

@grrtrr grrtrr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you.

conf.c Outdated Show resolved Hide resolved
conf.c Outdated Show resolved Hide resolved
@grrtrr grrtrr merged commit 39aae56 into uoaerg:master Sep 18, 2021
grrtrr pushed a commit that referenced this pull request Sep 18, 2021
Try to locate `rc` file in [`XDG_CONFIG_HOME`](https://wiki.archlinux.org/title/XDG_Base_Directory)

Fall through to the current default of `~/.wavemonrc`.
@grrtrr grrtrr linked an issue Sep 18, 2021 that may be closed by this pull request
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

Successfully merging this pull request may close these issues.

Move wavemonrc to XDG_CONFIG_HOME
2 participants