Giter Site home page Giter Site logo

bingwallpaper's Introduction

Gem Version

Bing Wallpaper

This project provides a simple Ruby script that will download the "Image of the Day" from Bing and then sets it as your current wallpaper. There are several tools out there that do this, this particular tool works under Linux.

If you find this code useful in any way, please feel free to...

Buy Me A Coffee

How It Works

I wrote this script with my own environment in mind, so it's pretty simple-minded. It fetches the XML describing today's image, then fetches the 1920x1200 sized version if it's available, the lower resolution version if not. Lastly, it uses Feh, swaymsg or Gnome to set the wallpaper for your environment. I've tested it in i3, Sway and Gnome 3.14.2 and nowhere else.

Using the Script

Just install the gem...

gem install bingwallpaper

And then invoke the script like so to set your wallpaper and lock screen to the Bing Picture of the Day in Gnome.

bingwallpaper -g -l

Here's the usage information...

Usage: bingwallpaper [options]
    -g, --gnome                      Set Gnome background
    -l, --lock                       Set Gnome lock screen background
    -f, --feg                        Use feh to set the  background (the default)
    -s, --sway                       Use swaymsg to set the background, overwrite \
                                       ~/.config/sway/config.d/wallpaper
    -h, --help                       Prints this help

bingwallpaper's People

Contributors

cmiles74 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.