From 6c71447bcab7e4315c7d532a672e17e15b8ff22d Mon Sep 17 00:00:00 2001 From: retrozinndev Date: Sun, 3 Aug 2025 16:23:17 -0300 Subject: [PATCH] :boom: fix: incorrect usage of `uwsm check is-active` command on scripts(again) --- ags/scripts/apps.ts | 2 +- hypr/scripts/exec.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ags/scripts/apps.ts b/ags/scripts/apps.ts index 971bac4..cac7e75 100644 --- a/ags/scripts/apps.ts +++ b/ags/scripts/apps.ts @@ -6,7 +6,7 @@ import AstalHyprland from "gi://AstalHyprland"; export const uwsmIsActive: boolean = await execAsync( - "uwsm check is-active hyprland-uwsm.desktop" + "uwsm check is-active" ).then(() => true).catch(() => false); const astalApps: AstalApps.Apps = new AstalApps.Apps(); diff --git a/hypr/scripts/exec.sh b/hypr/scripts/exec.sh index c5f787d..e90d9d6 100644 --- a/hypr/scripts/exec.sh +++ b/hypr/scripts/exec.sh @@ -8,7 +8,7 @@ # From: https://github.com/retrozinndev/colorshell -if uwsm check is-active "hyprland-uwsm.desktop"; then +if uwsm check is-active; then exec uwsm app -- "$@" exit 0 fi