reddit-backgrounds
v0.2.4
Published
Simple script that fetches a random, high-rated, lanscape-ish image from a specified reddit and sets it as background in gnome
Downloads
3
Readme
Gnome: Automatically fetch wallpapers from reddit
Simple script that fetches a random, high-rated, lanscape-ish shaped image from a specified reddit (currently hard-coded to "/r/earthporn"), and then sets that as background on Gnome.
Inspired by styli.sh. What I was missing from styli.sh is the ability to only fetch landscape images. A lot of the images on the reddits I liked were portrait, so no good for a desktop background. This script also avoid duplicates and records a history (in ~/.local/share/reddit-background/history.json
) where you can also get a description of the current image.
The script now also adds the description of the image as a caption onto the image itself.
Installation:
Install ImageMagick, e.g., on Ubuntu using
sudo apt install imagemagick
Then:
sudo npm install -g reddit-backgrounds
Usage:
gnome-reddit-background
To add a cron-job that replaces your background every hour, run crontab -e
and add:
0 * * * * gnome-reddit-background