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

Support the XDG Base Directory Specification #4

Closed
marwanhawari opened this issue Feb 6, 2022 · 3 comments
Closed

Support the XDG Base Directory Specification #4

marwanhawari opened this issue Feb 6, 2022 · 3 comments

Comments

@marwanhawari
Copy link
Owner

Currently stew stores all binaries and data in a $HOME/.stew directory but I would like to support the XDG Base Directory Specification instead.

This would mean moving ~/.stew to $XDG_DATA_HOME/stew (or $HOME/.local/share/stew if $XDG_DATA_HOME is not set).

@ComedyTomedy
Copy link

I'd love to have the option of putting binaries into ~/.local/bin/; it would mean that (at least on systemd systems) there's no need to add anything to the $PATH.

(Aside - Just found you through Reddit, or rather, by googling for a github binary package manager, and this is exactly what I wanted, thank you ♥)

@marwanhawari
Copy link
Owner Author

marwanhawari commented Feb 24, 2022

Awesome, glad to hear it! My first priority is coming up with how I want to allow for user configuration, because right now custom configuration is not really possible. Once I settle on how stew will read and write user config, then I don't think it will be too difficult to allow users to change the location of the stew directory or change the binary install path.

@marwanhawari
Copy link
Owner Author

Resolved in #8

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

2 participants