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...
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