0.2.4 • Published 2 years ago

reddit-backgrounds v0.2.4

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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.

Sample

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
0.2.4

2 years ago

0.2.3

2 years ago

0.2.2

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago