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

Allow ".stackwallet" directory to meet XDG Base Directory spec #1011

Open
1 task done
et-rnal opened this issue Oct 24, 2024 · 0 comments
Open
1 task done

Allow ".stackwallet" directory to meet XDG Base Directory spec #1011

et-rnal opened this issue Oct 24, 2024 · 0 comments

Comments

@et-rnal
Copy link

et-rnal commented Oct 24, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Currently on Linux, running stack wallet produces a "$HOME/.stackwallet" directory.

Expected Behavior

I suggest adding the ability to configure where this directory goes so that we may have it placed in "$XDG_CONFIG_HOME" (~/.config) or "XDG_DATA_HOME" (~/.local/share)

This could be accomplished by having it use one of those variables by default, checking if they're present, or allowing the user to configure it.

Reproduce Steps

Run stack wallet.

Environment

Any GNU/Linux environment

Logs

No response

Further Information

XDG Base Directory Specification
The above is the link to the specification

ArchWiki XDG Base Directory
The above link has a non-exhaustive list of compliant projects

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

No branches or pull requests

1 participant