Created
October 9, 2019 19:45
-
-
Save lucasmarques73/8020aec03692f2c5787bc9dbc78a47be to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
USER="willianjusten" | |
rm /home/lucas/.unsplash/wallpaper.jpg | |
wget -O /home/lucas/.unsplash/wallpaper.jpg https://source.unsplash.com/user/$USER/1920x1080 | |
gsettings set org.gnome.desktop.background picture-uri file:///home/lucas/.unsplash/wallpaper.jpg | |
# sudo chmod +x .unsplash.sh | |
# ./.unsplash.sh | |
# crontab -e | |
# https://crontab.guru/#*_*/20_*_*_* | |
# * */20 * * * /home/lucas/.unsplash.unsplash.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment