diff --git a/services/Apps.qml b/services/Apps.qml index 51232f31..546a6eb5 100644 --- a/services/Apps.qml +++ b/services/Apps.qml @@ -23,7 +23,7 @@ Singleton { function launch(entry: DesktopEntry): void { if (entry.execString.startsWith("sh -c")) - Quickshell.execDetached(["app2unit", "--", entry.execString]); + Quickshell.execDetached(["sh", "-c", `app2unit -- ${entry.execString}`]); else Quickshell.execDetached(["sh", "-c", `app2unit -- '${entry.id}.desktop' || app2unit -- ${entry.execString}`]); }