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