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

Turn path config option into array #42

Open
LordMZTE opened this issue Aug 27, 2023 · 2 comments
Open

Turn path config option into array #42

LordMZTE opened this issue Aug 27, 2023 · 2 comments

Comments

@LordMZTE
Copy link

I propose an alternative configuration value for path. The value should also accept an array of paths, which are treated like files in a directory. For example, I might want to have wpaperd select a background randomly from one of multiple directories like this:

[default]
path = ["/usr/share/backgrounds/", "/home/lordmzte/.local/share/backgrounds/"]
@danyspin97
Copy link
Owner

Hello and thank you for the feature request :) This is indeed a good idea, it would complicate the code a bit but I think it's still doable. I'll keep you updated once it gets implemented.

@danyspin97
Copy link
Owner

Hello @LordMZTE, I have kept this issue in the backlog, since I was working on transitions. Now I am preparing for release 1.0, and I am back at looking at this issue.

The current implementation would require quite a bit of code to handle paths, so this is still not going to be implemented soon, unfortunately :( PRs are welcome though!

If you want to have multiple paths, you can create a directory and put symlinks to your preferred directories inside, it would have the same effect.

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