wallpaper 1.0.0

Gets and sets the desktop wallpaper/background.
Documentation

wallpaper crate docs

This Rust library gets and sets the desktop wallpaper/background.

The supported desktops supported are as follows:

  • Windows
  • macOS
  • GNOME
  • KDE
  • Cinnamon
  • Unity
  • Budgie
  • XFCE
  • LXDE
  • MATE
  • Deepin
  • i3 (set only)

Example

extern crate wallpaper;

fn main() {
    println!("{:?}", wallpaper::get());
    wallpaper::set_from_url("https://source.unsplash.com/random").unwrap();
    println!("{:?}", wallpaper::get());
}