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 function to load a user config file #82

Merged
merged 2 commits into from
Jan 19, 2025
Merged

Add function to load a user config file #82

merged 2 commits into from
Jan 19, 2025

Conversation

sdilts
Copy link
Collaborator

@sdilts sdilts commented Jan 19, 2025

This is a rebased version of #57.

The only change from that PR is that errors are not silenced by default.

tpine and others added 2 commits January 19, 2025 08:19
This loads a config file first checking $XDG_CONFIG_HOME and if that
does not exist falls back to .config/mahogany/init.lisp.

It is adapted from the function in stumpwm.
Since most errors are going to be unrecoverable at this point, don't
supress them.
@sdilts sdilts merged commit 972b775 into master Jan 19, 2025
1 check passed
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.

2 participants