Skip to content

Easily set Reddit pictures from a specific subreddit as desktop background for your machine

License

Notifications You must be signed in to change notification settings

auino/reddit-macos-background

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

reddit-macos-background

Easily set Reddit pictures from a specific subreddit as desktop background for your machine

Description

This script allows you to dynamically change your desktop background, taking images from Reddit. It supports macOS and Linux systems running Gnome.

Installation

  1. Clone the repository:
git clone https://github.com/auino/reddit-macos-background.git
  1. Configure the script, by opening it and setting configuration data as preferred
  2. Optionally, you can test the correct working of the script, by opening the Terminal app and running the following command:
sh reddit-background.sh
  1. Put the script on your crontab, by opening the Terminal app (or your Linux shell) and running the following command:
crontab -e
  1. Now you have to append the following line (press i button to insert data):
00 12 * * * sh /directory_path/reddit-background.sh

where /directory_path/ identifies the path of the directory containing the script (to be configured as value of the $DIR directory on the script), while 00 12 specifies the program has to be called every day at noon. 6. Hit :q to close, saving the file 7. Enjoy!

Notes

On macOS systems, in order to immediately set the new background, the Dock program has to be killed. If you don't want to kill it, you can comment the relative line on the script.

It's also available (on Pastebin) a first version of this program.

This script is based on auino/500px-osx-background.

Contacts

You can find me on Twitter as @auino.

About

Easily set Reddit pictures from a specific subreddit as desktop background for your machine

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages