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

Only download image if it has changed #1

Open
torbengb opened this issue Mar 10, 2015 · 0 comments
Open

Only download image if it has changed #1

torbengb opened this issue Mar 10, 2015 · 0 comments
Assignees

Comments

@torbengb
Copy link
Owner

There's no need to force a download of the image, because it might not have changed. More elegant would be to only save it if it has indeed changed.

  • Does wget always download the image but only saves it if it's newer than the local version?
  • We can save bandwidth if wgets checks before downloading.

If we can tell that the image has not changed since last download, we can skip the step to set a new wallpaper (gsettings set org.gnome.desktop.background).

  • Does wget give us a useful return code?
@torbengb torbengb self-assigned this Mar 10, 2015
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