Easily set Reddit pictures from a specific subreddit as desktop background for your machine
This script allows you to dynamically change your desktop background, taking images from Reddit. It supports macOS and Linux systems running Gnome.
- Clone the repository:
git clone https://github.com/auino/reddit-macos-background.git
- Configure the script, by opening it and setting configuration data as preferred
- Optionally, you can test the correct working of the script, by opening the Terminal app and running the following command:
sh reddit-background.sh
- Put the script on your crontab, by opening the Terminal app (or your Linux shell) and running the following command:
crontab -e
- 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!
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.
You can find me on Twitter as @auino.