Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 763 Bytes

README.md

File metadata and controls

30 lines (23 loc) · 763 Bytes

Auto Wallpaper

Auto wallpaper is a little python script that fetches and applies a new random wallpaper from unsplash.

Usage

Simply call the script from the console:

python3 /path/to/autowallpaper.py

You can specify the image category by passing a comma separated list as an argument to the script:

python3 /path/to/autowallpaper.py "landscape,winter,night"

Cronjob

Simply set up a cronjob to execute the script in a custom interval:

crontab -e

And then add something like this to execute the job once a day at 1 p.m.:

0 13 * * * python3 /path/to/autowallpaper.py