wallpaper

This Rust library gets and sets the desktop wallpaper/background.
The supported desktops are:
- Windows
- macOS
- GNOME
- KDE
- Cinnamon
- Unity
- Budgie
- XFCE
- LXDE
- MATE
- Deepin
- Most Wayland compositors (set only, requires swaybg)
- i3 (set only, requires feh)
Examples
use wallpaper;
If you want to set an image as background via an URL, make sure you activated the from_url feature of the wallpaper crate on Cargo.toml:
[]
= { = "3", = ["from_url"] }
Then, on your main.rs:
use wallpaper;