summaryrefslogtreecommitdiff
path: root/services/Apps.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-18 23:07:22 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-18 23:07:22 +1000
commit620ff52f75fe78cb3833fa2e0961f957a9fcae79 (patch)
tree1cdb4d7f74d988529a58d11add31689856f74574 /services/Apps.qml
parentdashboard: send notif when pfp changed (diff)
downloadcaelestia-shell-620ff52f75fe78cb3833fa2e0961f957a9fcae79.tar.gz
caelestia-shell-620ff52f75fe78cb3833fa2e0961f957a9fcae79.tar.bz2
caelestia-shell-620ff52f75fe78cb3833fa2e0961f957a9fcae79.zip
launcher: fix opening apps
Run exec string when proc app2unit fails
Diffstat (limited to 'services/Apps.qml')
-rw-r--r--services/Apps.qml12
1 files changed, 1 insertions, 11 deletions
diff --git a/services/Apps.qml b/services/Apps.qml
index e3ab276..90ef302 100644
--- a/services/Apps.qml
+++ b/services/Apps.qml
@@ -2,7 +2,6 @@ pragma Singleton
import "root:/utils/scripts/fuzzysort.js" as Fuzzy
import Quickshell
-import Quickshell.Io
Singleton {
id: root
@@ -23,15 +22,6 @@ Singleton {
}
function launch(entry: DesktopEntry): void {
- launchProc.entry = entry;
- launchProc.startDetached();
- }
-
- Process {
- id: launchProc
-
- property DesktopEntry entry
-
- command: ["app2unit", "--", `${entry?.id}.desktop`]
+ Quickshell.execDetached(["sh", "-c", `app2unit -- '${entry.id}.desktop' || app2unit -- ${entry.execString}`]);
}
}