Skip to content

Instantly share code, notes, and snippets.

@edmargomes
Created June 21, 2020 21:17
Show Gist options
  • Save edmargomes/5c00553f16047680a83a3f9b5ef050d4 to your computer and use it in GitHub Desktop.
Save edmargomes/5c00553f16047680a83a3f9b5ef050d4 to your computer and use it in GitHub Desktop.
Update your wallpaper automatically
#/bin/bash
# Add this in your crontab to update your wallpaper each three hours
# Example
# 0 */3 * * * sh /home/$USER/Pictures/wallpaper/unplash.sh
wget -O /home/$USER/Pictures/wallpaper/wallpaper.jpg https://unsplash.it/2560/1440/?random
gsettings set org.gnome.desktop.background picture-uri file:///home/$USER/Pictures/wallpaper/wallpaper.jpg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment