summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/system.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/system.ts b/src/utils/system.ts
index 8ccb5d1..360a261 100644
--- a/src/utils/system.ts
+++ b/src/utils/system.ts
@@ -16,11 +16,11 @@ const execToCmd = (app: AstalApps.Application) => {
export const launch = (app: AstalApps.Application) => {
let now = Date.now();
- execAsync(["uwsm", "app", "--", app.entry]).catch(() => {
+ execAsync(["app2unit", "--", app.entry]).catch(() => {
// Try manual exec if launch fails (exits with error within 1 second)
if (Date.now() - now < 1000) {
now = Date.now();
- execAsync(["uwsm", "app", "--", execToCmd(app)]).catch(() => {
+ execAsync(["app2unit", "--", execToCmd(app)]).catch(() => {
// Fallback to regular launch
if (Date.now() - now < 1000) {
app.frequency--; // Decrement frequency cause launch also increments it