Expand description
wallflow - Elegant wallpaper management
This library provides wallpaper downloading functionality from various online sources. It can be used as a dependency by other crates that need wallpaper fetching capabilities.
§Example
use wallflow::{Config, DownloadOptions, download_from_source};
async fn example() -> anyhow::Result<()> {
let config = Config::load_or_default()?;
let opts = DownloadOptions::default();
let wallpaper = download_from_source("wallhaven", &config, &["nature".into()], &opts).await?;
println!("Downloaded: {:?}", wallpaper.file_path);
Ok(())
}Re-exports§
pub use config::Config;pub use downloaders::traits::Wallpaper;pub use downloaders::DownloadOptions;pub use downloaders::download_from_source;pub use downloaders::list_sources;pub use wallpaper::apply_wallpaper;
Modules§
- config
- display
- downloaders
- Wallpaper downloader system with pluggable sources
- integration
- Desktop environment integrations
- platform
- wallpaper
- Wallpaper management module with cross-platform backend support