Change your wallpaper with a random image from Unsplash
Use Unsplash Source: https://source.unsplash.com/
> python pysplash.py -h
usage: pysplash.py [-h] [-c] [-d] [-t TAGS [TAGS ...]] [-e] [-v]
optional arguments:
-h, --help show this help message and exit
-c, --configure create configuration file
-d, --daily get daily image
-t TAGS [TAGS ...], --tags TAGS [TAGS ...]
-e, --end-check delete image if you do not like
-v, --version show program's version number and exit
-c
option allow the user to create a configuration json where store informations about: folder where save the downloaded images and preferred size
>python pysplash.py -c
>>> Folder used for save image: C:\user\username\Pictures
>>> Preferred Size for the image:
width: 1920
height: 1080
Configuration json created.
NOTA: config.json
is created and searched in the same folder of the script
>python pysplash.py
-d
download the daily image
NOTE: Daily image has priority over the tag list
-t
allow user to select some keyword for select image
>python pysplash.py -t water,shark
https://source.unsplash.com/1920x1080/?water,shark
Downloading....
Image that respect "water" and/or "shark" keywords
- If
-e
option is used, after the download, is requested if delete or not the image
>python pysplash.py -d -e
https://source.unsplash.com/1920x1080/daily
Downloading....
Do you like it? (y/n): n
Deleted....