Skip to content

Commit 50cf450

Browse files
authored
Fix wallpaper command formatting for path
1 parent 8271897 commit 50cf450

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wallpaper.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ fn set_userdefined(path: &str, command: &str) -> Result<()> {
5555

5656
Command::new(SH_NAME)
5757
.arg(SH_ARG)
58-
.arg(format!("{command} file://{path}"))
58+
.arg(format!("{command} {path}"))
5959
.output()
6060
.context("Failed to update wallpaper with custom command")?;
6161

0 commit comments

Comments
 (0)