fix(wallpaper): get current slideshow image from cosmic-bg state
This commit is contained in:
parent
1b4bfb619b
commit
39d0c6f7cf
5 changed files with 52 additions and 16 deletions
|
|
@ -43,10 +43,6 @@ pub const DEFAULT_COLORS: &[Color] = &[
|
|||
}),
|
||||
];
|
||||
|
||||
pub fn current_image(output: &str) -> Result<PathBuf, cosmic_config::Error> {
|
||||
cosmic_bg_config::context()?.current_image(output)
|
||||
}
|
||||
|
||||
pub async fn config() -> (Config, HashMap<String, (String, (u32, u32))>) {
|
||||
let mut displays = HashMap::new();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue