From 42695d9253df2568c181c2fdd6b7d1963591375b Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Mon, 18 Aug 2025 21:02:03 +0700 Subject: [PATCH] Wallpapers: use Process::exec instead of setting command and setting `running` prop --- .config/quickshell/ii/services/Wallpapers.qml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.config/quickshell/ii/services/Wallpapers.qml b/.config/quickshell/ii/services/Wallpapers.qml index 4683bed99..d5c4e0701 100644 --- a/.config/quickshell/ii/services/Wallpapers.qml +++ b/.config/quickshell/ii/services/Wallpapers.qml @@ -35,12 +35,11 @@ Singleton { function apply(path) { if (!path || path.length === 0) return - applyProc.command = [ + applyProc.exec([ "bash", "-c", `${StringUtils.shellSingleQuoteEscape(Directories.wallpaperSwitchScriptPath)} ` + `--image ${StringUtils.shellSingleQuoteEscape(path)}` - ] - applyProc.running = true + ]) } // Folder model