From 0a64355d584676d7266d9f642b764db3ac455e2a Mon Sep 17 00:00:00 2001 From: InioX Date: Sat, 21 Dec 2024 10:49:32 +0100 Subject: [PATCH] fix: not compiling because of unix wallpaper --- src/wallpaper/unix.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wallpaper/unix.rs b/src/wallpaper/unix.rs index 2f7c2a7..2936a01 100644 --- a/src/wallpaper/unix.rs +++ b/src/wallpaper/unix.rs @@ -11,12 +11,12 @@ pub fn set( command, arguments, .. - }: Wallpaper, + }: &Wallpaper, ) -> Result<(), Report> { info!("Setting wallpaper..."); if let Some(hook) = pre_hook { - spawn_hook(hook)? + spawn_hook(hook.to_string())? } let mut binding = Command::new(&command);