A script that will pull from reddit.com/r/wallpapers so you always have variety.
Credit goes to /u/Molozonide who supplied the script :D I just fixed it up and put it nicely in one place.
- Go to terminal and
cd ~/Pictures/ && mkdir wallpapers
so you have a place for your wallpapers - Take the files
redditwallpapers.sh
andimgur_album_download.sh
and move them to~/Pictures/wallpapers
- In terminal edit your cron jobs by doing
crontab -e
and editing the file to have the following:
PATH=/bin:/usr/bin:/usr/local/bin
0 10 * * * /Users/USER/Pictures/wallpapers/redditwallpapers.sh &> /dev/null
This will set it up so that it runs everyday at 10 AM. I also set it up so it won't mail you. Also note it's important to have a newline at the end of cron.
- Verify that the cron job is running by doing
crontab -l
- Go to your Desktop, select Change Desktop Background...
- In the bottom right hit the + button, select the
wallpapers
folder and then check Change picture interval.
Note: If you get Permission denied
for running redditwallpapers.sh
or imgur_album_download.sh
, you may need to change the permissions (chmod 777
)
- If you want to customize the
/wallpapers
directory, just remember to updateredditwallpapers.sh
- You can also customize the subreddit to pull from by changing the
curl
url
On running the script, I'm getting
wget: missing URL