launcher: fix again

This commit is contained in:
2 * r + 2 * t 2025-06-19 23:38:21 +10:00
parent 1c5c99699f
commit 98eb7c1679

View file

@ -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}`]);
}