Skip to content

Commit 5c657a0

Browse files
authored
Update README.md
1 parent cffe347 commit 5c657a0

File tree

1 file changed

+23
-13
lines changed

1 file changed

+23
-13
lines changed

README.md

Lines changed: 23 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,45 @@
1-
[![Underdevelopment](https://img.shields.io/badge/Build-UnderDevelopment-red.svg)](https://raw.githubusercontent.com/hyperium/hyper/master/LICENSE) [![Passing](https://img.shields.io/circleci/project/github/RedSparr0w/node-csgo-parser/master.svg)](https://raw.githubusercontent.com/hyperium/hyper/master/LICENSE)
1+
# Download Images and Set Wallpapers from your choice of Subreddit!
22

3-
# Wallpapers from your choice of Subreddit (default - /r/wallpaper):
3+
Using this script:
4+
* Download any number of images from any subreddit!
5+
* Select your sort type (Top, Hot, New, Controversial)
6+
* Select your sort time (All, Year, Month, Week, Day)
7+
* Automatically set and switch Wallpaper from the downloaded images
8+
* Store the links to all the downloaded images (in case you want to access later?)
49

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

9-
**Grab the stable release from here : [v1.1.2](https://github.com/tsarjak/WallpapersFromReddit/releases/latest)**
14+
## No Dependencies! Just Download and Run!
15+
Just download the files and run the file - no need to setup anything at all!
1016

11-
### To Install
17+
To download via Terminal:
1218
```shell
1319
git clone https://github.com/tsarjak/WallpapersFromReddit.git
14-
cd WallpapersFromReddit
15-
sudo pip install -r requirements.txt
1620
```
1721

1822

1923
### To run the code
24+
2025
In terminal:
2126
```shell
22-
#In Home Directory or the Directory in which you cloned/downloaded/installed the script
27+
# In the Home Directory or the Directory in which you cloned/downloaded the script
2328
cd ~/WallpapersFromReddit
24-
python wallpaper.py --subreddit <your choice of subreddit> -hq
25-
#add -hq at the end if you only want high quality photos from the subreddit, by default it will download all the images!
29+
python main.py
30+
--subreddit <your choice of subreddit>
31+
--sort_type <hot|new|rising|top>
32+
--sort_time <all|year|month|week|day>
33+
--update_every <Number of minutes after which you want to change the wallpapers>
34+
--run_for <Total number of hours you want to run the script for>
35+
--download_only <Toggle this to either only download the images, or to also keep cycling throught the wallpapers>
2636
```
27-
Example :
37+
38+
Example:
2839
```shell
29-
python wallpaper.py --subreddit earthporn -hq
40+
python wallpaper.py --subreddit earthporn -sort_type top --sort_time all --download_only
3041
```
31-
--Subreddit part is optional - By default it will fetch images from /r/wallpaper
32-
You can see the progress of the download after above execution
42+
3343

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

0 commit comments

Comments
 (0)