Skip to content

Commit

Permalink
fix: not compiling because of unix wallpaper
Browse files Browse the repository at this point in the history
  • Loading branch information
InioX committed Dec 21, 2024
1 parent cab8f92 commit 0a64355
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/wallpaper/unix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 0a64355

Please sign in to comment.