$ git clone https://github.com/buckmaxwell/background-by-reddit.git
$
$ cd background-by-reddit
$ pip install -r requirements.txt
$
$ mkdir ~/BackgroundByReddit
$ mv default.jpg ~/BackgroundByReddit
$
open config.py in your text editor of choice and configure your settings!
###
# Fill out your username, if not on Mac make sure the path to BackgroundByReddit is correct -- do not use ~/
###
username = 'max' # => insert your personal computer username here
pictures_path = '/Users/{u}/BackgroundByReddit'.format(u=username) # => all pictures in this path will be deleted
###
# Configure subreddits 1-3 with your favorite picture heavy subreddits
#
# Suggestions:
# /r/earthporn
# /r/pics
# /r/carporn
# /r/teacuppigs
# /r/bookporn
# /r/matureladiesboners
# /r/wallpaper
# /r/art
# /r/pics
#
# Get creative!
#
###
subreddit1 = '/r/wallpaper'
subreddit2 = '/r/art'
subreddit3 = '/r/pics'
$ crontab -e
This final command will open the crontab, presumably in vim.
- press 'i'
- Add the following line to the file:
0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57 * * * * python <path>/<to>/background-by-reddit/redditbackground.py
- press 'esc'
- type 'ZZ'
4. Configure settings for background (this process will vary slightly for diffent Operating Systems)
- Right click on desktop background
- Select "change desktop background"
- Under folders select BackgroundByReddit -- if this is not there by default add the folder by clicking the + sign
- Select the first picture and click "Change Picture"
- Set drop down menu to "5 seconds"