Daily Reddit Wallpaper
This script changes your wallpaper to most upvoted image of the day on /r/wallpapers or from any other subreddit.
Run it on startup for new wallpaper on every session.
Supported: Linux (gnome, kde, mate, lxde), Windows and OS X
Make sure you have Python installed and PATH variable set.
If you don't have
pip for Python:
sudo apt-get install python-pip
You will need modules
praw installed, which are in requirements.txt:
pip install -r requirements.txt
Follow this guide to install
pip and configure PATH variable.
The rest is the same.
If you wanna use other subreddit, include argument with the subreddit name:
python /home/silvio/Scripts/change_wallpaper_reddit.py --subreddit art
If you don't want to change your wallpaper daily, you can use newest, hourly, weekly, monthly or yearly wallpaper too by adding one of the following arguments:
year to the script.
python /home/silvio/Scripts/change_wallpaper_reddit.py --time week
NSFW images are disabled by default, to enable them add
On OS X, you can specify display number with option
--display. Use 0 for all display (default), 1 for main display and so on.
To change default location where image will be saved, use
Running on startup
To make managment of the script simple, we can accomplish this using built-in Startup Applications.
Click on Add.
Note: you can use
--time arguments here aswell.
We will be using Task Scheduler for this. You can find it in Windows search.
Once you open it, click on
Create Basic Task
Follow the procedure.
Add arguments field type the location of the script. Example
"D:\change_wallpaper_reddit.py" --subreddit art --time week
Running every minute or hour
Look into using cronjobs on Linux or Task Scheduler on Windows for performing this.
Instead of writing arguments every time you run the script, you can also use configuration file which should be located at
Example of configuration file: