stack_wallet
stack_wallet copied to clipboard
Allow ".stackwallet" directory to meet XDG Base Directory spec
Is there an existing issue for this?
- [X] 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