2 releases

0.1.1 Feb 11, 2023
0.1.0 Feb 11, 2023

#908 in Hardware support

27 downloads per month
Used in kabegami

MIT license

14KB
317 lines

Waraq: A Rust Library for Setting Wallpapers

Waraq is a Rust library for setting wallpapers . It provides a simple and platform-independent interface for changing wallpapers without relying on any other wallpaper utilities.


lib.rs:

Examples

  • Set a single wallpaper in fill mode in linux
use waraq::linux::xcb

let path = PathBuf::from("/path/to/wallpaper");
let mode = image_utils::ImageMode::Fill;
xcb::set_bg(path, mode).unwrap();

Dependencies

~3–4.5MB
~96K SLoC