summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-04-04 18:30:08 +1100
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-04-04 18:30:08 +1100
commitaed36b160f3049e393f9a24b80ba6c8a5e9c558f (patch)
treee9b6c9dbc81a49fc4a70abfd874022f2f161bf0b /src/utils
parentbar: fix corners showing when not embedded style (diff)
downloadcaelestia-shell-aed36b160f3049e393f9a24b80ba6c8a5e9c558f.tar.gz
caelestia-shell-aed36b160f3049e393f9a24b80ba6c8a5e9c558f.tar.bz2
caelestia-shell-aed36b160f3049e393f9a24b80ba6c8a5e9c558f.zip
feat: uwsm app -> app2unit
Also xdg-open -> app2unit
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