Skip to content

Download all the hot images from reddit.com/r/wallpaper subreddit every 24 hours to a local device and set an image from those local files as a wallpaper, which updates automatically every 30 minutes!

License

Notifications You must be signed in to change notification settings

SXPorrata/WallpapersFromReddit

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Underdevelopment Passing

Wallpapers from your choice of Subreddit (default - /r/wallpaper):

This Script will download all the Images (First page of hot section) from /r/Wallpaper subreddit to a local folder every 24 hours. It will also automate a Slideshow change of Wallpapers from that local storage. Wallpaper will change every 30 Minutes. This works only on Gnome Based Desktops.

Grab the stable release from here - v1.1

To Install

git clone https:/tsarjak/WallpapersFromReddit.git

To run the code

In terminal:

#In Home Directory or the Directory in which you cloned/downloaded/installed the script
cd ~/WallpapersFromReddit
python wallpaper.py --subreddit <your choice of subreddit> -hq
#add -hq at the end if you only want high quality photos from the subreddit, by default it will download all the images!

Example :

python wallpaper.py --subreddit earthporn -hq

--Subreddit part is optional - By default it will fetch images from /r/wallpaper You can see the progress of the download after above execution

After First run, you might want to run the app in background (This is possible even on first run!)

nohup python wallpaper.py &

nohup command is used to keep the script running in background, even when the terminal is closed

Add the script to run it as startup application

Goto "Startup Applications" Click "Add" -> Click "Custom Command" -> Enter command as "nohup python ~/wallpaper.py &", enter name and other details and save

Custom Preferences and more Subreddits comming soon! :)

About

Download all the hot images from reddit.com/r/wallpaper subreddit every 24 hours to a local device and set an image from those local files as a wallpaper, which updates automatically every 30 minutes!

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%