fix: change uwsm app to uwsm-app for performance (#1960)

* fix: change uwsm app to uwsm-app for performance

* Do not run uwsm-app in parallel as it's not supported

* Fix comment

---------

Co-authored-by: David Heinemeier Hansson <david@hey.com>
This commit is contained in:
Andreas Krüger
2025-10-06 22:03:16 +02:00
committed by GitHub
parent 2c14252d7d
commit 2971a25a4f
18 changed files with 24 additions and 23 deletions

View File

@@ -6,7 +6,7 @@ if (($# == 0)); then
fi
WINDOW_PATTERN="$1"
LAUNCH_COMMAND="${2:-"uwsm app -- $WINDOW_PATTERN"}"
LAUNCH_COMMAND="${2:-"uwsm-app -- $WINDOW_PATTERN"}"
WINDOW_ADDRESS=$(hyprctl clients -j | jq -r --arg p "$WINDOW_PATTERN" '.[]|select((.class|test("\\b" + $p + "\\b";"i")) or (.title|test("\\b" + $p + "\\b";"i")))|.address' | head -n1)
if [[ -n $WINDOW_ADDRESS ]]; then