💥 fix: incorrect usage of uwsm check is-active command on scripts(again)
This commit is contained in:
+1
-1
@@ -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();
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user