ticker icon indicating copy to clipboard operation
ticker copied to clipboard

When looking in XDG_CONFIG_HOME YAML config file shouldn't have dot prefix

Open cpjolicoeur opened this issue 4 years ago • 1 comments

When storing configuration files in XDG_CONFIG_HOME, it's not typical to also have the configuration file be a hidden file.

e.g.

~/.ticker.yaml
~/.config/ticker/ticker.yaml

This issue is just a placeholder to make the config file loader a bit more robust in how it search/loads the config file to allow for a bit more leeway. The README does note the file being called .ticker.yaml in both cases, but it would also be nice (perhaps) to allow for both styles.

cpjolicoeur avatar Feb 03 '21 18:02 cpjolicoeur

I agree this is highly unusual and confusing. It took me a long while to find the config file. Additionally the file should be placed in a separate directory ticker within $XDG_CONFIG_HOME. This allows for flexibility when adding further configuration.

boreq avatar Apr 15 '21 14:04 boreq