💥 fix: incorrect usage of uwsm check is-active command on scripts(again)

This commit is contained in:
retrozinndev
2025-08-03 16:23:17 -03:00
parent 3083a58e07
commit 6c71447bca
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ import AstalHyprland from "gi://AstalHyprland";
export const uwsmIsActive: boolean = await execAsync( export const uwsmIsActive: boolean = await execAsync(
"uwsm check is-active hyprland-uwsm.desktop" "uwsm check is-active"
).then(() => true).catch(() => false); ).then(() => true).catch(() => false);
const astalApps: AstalApps.Apps = new AstalApps.Apps(); const astalApps: AstalApps.Apps = new AstalApps.Apps();
+1 -1
View File
@@ -8,7 +8,7 @@
# From: https://github.com/retrozinndev/colorshell # From: https://github.com/retrozinndev/colorshell
if uwsm check is-active "hyprland-uwsm.desktop"; then if uwsm check is-active; then
exec uwsm app -- "$@" exec uwsm app -- "$@"
exit 0 exit 0
fi fi