daoswald / bg-changer

Perl utility for changing the background image automatically after downloading from Unsplash

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NAME

bg-changer - Perl script for updating the Gnome background

SYNOPSIS

./bg-changer

DESCRIPTION

Downloads an image from Unsplash, save it into /var/tmp, and then uses gsettings to update the Gnome background image.

POC

This is a proof-of-concept based on some ideas I had after reading How To Set Random Wallpapers from Unsplash.com for Ubuntu.

TODO

  • Create a Makefile that can spawn a crontab entry
  • Add testing.
  • Makefile should be able to install this into /usr/local/bin
  • Figure out how to determine if this is a metered connection, to skip downloading ** See StackOverflow: Detect if current connection is metered with NetworkManager
  • Commandline, ENV, and config file options for file size and search keywords.
  • Commandline, ENV, and config file options for caching a few past files so they can still rotate when there's no network connection.

CONTRIBUTING

This repo uses the fork-and-PR model: Fork the repo, make your changes, issue a pull-request against master.

FEATURE REQUESTS AND ISSUES

Use GitHub Issues to report problems or make feature requests.

LICENSE

This software can be distributed under the terms of the artistic2 license.

AUTHOR

David Oswald GitHub Repo: daoswald/bg-changer

About

Perl utility for changing the background image automatically after downloading from Unsplash


Languages

Language:Perl 100.0%