Skip to main content

send_set_wallpaper

Function send_set_wallpaper 

pub fn send_set_wallpaper(
    file: File,
    target: WallpaperTarget,
) -> Receiver<Result<(), String>>
Expand description

Ask the desktop’s Wallpaper portal to use file, an already-open picture (typically from PickRequest::send_open_file), for target. Never blocks: the D-Bus round trip runs on the app runtime.