Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

reddit-backgrounds

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

reddit-backgrounds

Simple script that fetches a random, high-rated, lanscape-ish image from a specified reddit and sets it as background in gnome

  • 0.2.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

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

FAQs

Package last updated on 04 Jun 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc