Skip to content

[FEATURE] use an XDG directory for storing lyrics #651

Description

@fkobi

Is your feature request related to a problem? Please describe.
I do not like .lyrics forlder just sitting there in $HOME by default.
Yes, one is able to put it elsewhere but that should not be nescessary

Describe the solution you'd like
Right now the project uses XDG_CONFIG_HOME

std::string xdg_config_home()
{
std::string result;
const char *env_xdg_config_home = getenv("XDG_CONFIG_HOME");

I suggest the lyrics are written to XDG_CACHE_HOME.
The current state could be a fallback.

Describe alternatives you've considered
The alternative is not using them, which is the current state

Additional context
Could solve #574

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions