Created
June 21, 2020 21:17
-
-
Save edmargomes/5c00553f16047680a83a3f9b5ef050d4 to your computer and use it in GitHub Desktop.
Update your wallpaper automatically
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/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