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

[Improvement] Support XDG Base Directory #1

Closed
pandruszkow opened this issue Feb 12, 2021 · 2 comments
Closed

[Improvement] Support XDG Base Directory #1

pandruszkow opened this issue Feb 12, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@pandruszkow
Copy link

XDG Base Directory standard[1][2] defines a relocatable dotfile directory that keeps the home directory less cluttered. It would be great if rdfm supported reading this environment variable, and using that path if present.

@Wafelack
Copy link
Owner

Wafelack commented Feb 12, 2021

Hello,

Where should the dotfiles be placed if there is a XDG_CONFIG_HOME environment variable ? In $XDG_CONFIG_HOME or in $XDG_CONFIG_HOME/.dotfiles ?

Regards,
Wafelack.

@Wafelack Wafelack added the enhancement New feature or request label Feb 12, 2021
@Wafelack
Copy link
Owner

Hello,

I added $XDG_CONFIG_HOME detection, that is primary in folder path getter.
Is it ok to you ?

Regards,
Wafelack.

Wafelack added a commit that referenced this issue Feb 13, 2021
Fixed broken XDG Base Folder detection in add command and added default target detection if only one argument is supplied
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants