Change every x minutes the wallpaper with a random high quality picture from unsplash
- Register as a developer in https://unsplash.com/developers and create a new app
- Setup credentials in
app.py
- Install requirements
pip install -r requirements.txt
- Run
python app.py authorize
and follow the process - Run
python app.py
to get a random picture as a wallpaper, just to see it works :) - Setup crontab
EDITOR=nano crontab -e
- Add a new rule
*/20 * * * * {python_path} {app.py}
- Enjoy
- Swift must be installed
- Use absolute paths in the crontab rule
- You can change the query value for whatever you want
- You can setup the interval you want
- The images will be downloaded to
images
folder