-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
Introduce a way to support user defined configurations #142
Conversation
Do you need anything from me in order to get this one merged? |
Sorry for the delay (christmas). I'll try to review it as soon as i can. |
Updated as requested. Please note that depending on your OS, this is a breaking change and you will need to move your existing config file to the (potentially) new location. |
cbec63a
to
38f0e9b
Compare
I really don't like the breaking change. On a fresh install on MacOS, for example, the app does not work out of the box because it can't find the config file. Can we just have default values in case the file is not present?. Also, i don't like that on macOS the config must be located in "$HOME/Library/Application Support". I'd like to keep supporting "$HOME/.config", can we search on both paths (with $HOME/.config as primary source) or maybe check for $XDG_CONFIG_HOME first? |
Good catch! That is not how I intended it to work, of course it should work without having to first create a config file yourself (it indeed uses default values if the config file doesn't exist), so let me update that.
OK so what do you suggest? Personally I think adding support for So to prevent multiple additional iterations, please let me know your preference. |
Thanks for the fix. Yeah, i think supporting |
Updated to code to always check for a |
Thank you, please fix the merge conflict and we are good to go. |
2b949a4
to
f4dfee1
Compare
This is by no means perfect, but its again taking a few small steps to make minor improvements and introduce some new functionality which I was really missing.
f4dfee1
to
d0acf68
Compare
Converting to a draft for just a minute to verify and double check if everything works as expected. Should only take a few minutes... |
Did find a minor bug in the pagination logic, but will make a separate PR for that. The code in this PR now seems to work as expected. |
This remind me a suggestion made here 😁😇🤣😂 |
This is by no means perfect, but its again taking a few small steps to make minor improvements and introduce some new functionality which I was really missing.