Skip to content

use XDG_CONFIG_HOME in CONF_ROOT definition#11

Open
laur89 wants to merge 2 commits intoram-on:masterfrom
laur89:master
Open

use XDG_CONFIG_HOME in CONF_ROOT definition#11
laur89 wants to merge 2 commits intoram-on:masterfrom
laur89:master

Conversation

@laur89
Copy link
Copy Markdown

@laur89 laur89 commented Sep 16, 2025

  • users might have configured their XDG_CONFIG_HOME to a non-standard value, we should respect it
  • move imgur api url & api ver to constants
  • standardize boolean opts to 'true' string, do not mix with other types

- users might have configured their XDG_CONFIG_HOME to a non-standard
  value, we should respect it
- move imgur api url & api ver to constants
@laur89
Copy link
Copy Markdown
Author

laur89 commented Sep 16, 2025

Nice to see this project still going strong! Have been using it regularly as a screenshotting dependency for better part of the last decade.

- it's --fail in its long form
- this causes curl to exit w/ error for all HTTP response codes at 400 or greater
@ram-on
Copy link
Copy Markdown
Owner

ram-on commented Sep 16, 2025

Thank you for your pull request. Looks good, though I need to test it. Can you change from single inverted commas to double inverted commas for the sake of consistency please?

@laur89
Copy link
Copy Markdown
Author

laur89 commented Sep 16, 2025

You mean on all the values? It's not really a consistency thing. Double quotes signify that there's some value that's expected to be expanded, e.g. variables. Single quotes imply the string is as-is.

@laur89
Copy link
Copy Markdown
Author

laur89 commented Jan 8, 2026

Bump.

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