Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
LuckyTurtleDev committed Feb 19, 2024
1 parent c30ee33 commit 0964f45
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion more-wallpapers/src/linux/xfce.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,11 @@ pub(crate) fn get_screens() -> Result<Vec<Screen>, WallpaperError> {
pub(crate) fn set_screens(screens: Vec<Screen>) -> Result<(), WallpaperError> {
fn set_key<P: AsRef<OsStr>>(key: String, property: P) -> Result<(), WallpaperError> {
let mut command = Command::new("xfconf-query");
command.args(["--channel", "xfce4-desktop", "--set"]).arg(key).arg(property);
command
.args(["--channel", "xfce4-desktop", "-p"])
.arg(key)
.arg("-s")
.arg(property);
run_command(command)?;
Ok(())
}
Expand Down

0 comments on commit 0964f45

Please sign in to comment.