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

Guarantee new backgrounds each day #15

Open
rconradharris opened this issue Sep 28, 2016 · 0 comments
Open

Guarantee new backgrounds each day #15

rconradharris opened this issue Sep 28, 2016 · 0 comments

Comments

@rconradharris
Copy link
Owner

If we keep a little bit of state, we can ensure that a new background is provided each day.

Maybe this can be a config, like ensure_fresh=1.

This would work by appending image URLS to a ~/.reddit-background.log file. The file would behave like a circular buffer of size 100, and would prune itself after each run.

The default for ensure_fresh should probably be true.

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

No branches or pull requests

1 participant