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

Case if the wallpaper is set to change every X minutes. #7

Closed
2 tasks done
musically-ut opened this issue Apr 22, 2016 · 3 comments · Fixed by #9
Closed
2 tasks done

Case if the wallpaper is set to change every X minutes. #7

musically-ut opened this issue Apr 22, 2016 · 3 comments · Fixed by #9

Comments

@musically-ut
Copy link

musically-ut commented Apr 22, 2016

If I set my Desktop wallpaper settings to:

  • Change picture: Every X minutes
  • Random Order

this binary only gives me a path to the folder instead of the currently active file:

➔  ./wallpaper
/Users/musically_ut/Pictures

I had to resort to some hackery to get the actual active wallpaper: musically-ut/WhichBG. However, I don't know how to map the correct wallpaper to the correct screen/desktop in that setting.

@sindresorhus
Copy link
Owner

Known issue: sindresorhus/wallpaper#4

@musically-ut
Copy link
Author

So what do you think about the hack of reading the sqlite3 DB to figure out all the valid filenames which could be wallpapers?

That certainly doesn't use the blessed API and there doesn't seem to be a good way of working around the issue?

@sindresorhus
Copy link
Owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants