Add focus or launch script (#925)

* Add focus or launch script

* Replace eval with exec

* Use eval so it properly expands the variables

* Apply to the apps where it makes most sense

---------

Co-authored-by: David Heinemeier Hansson <david@hey.com>
This commit is contained in:
v-olegandDavid Heinemeier Hansson authored and GitHub committed 2025-09-14 21:58:08 +02:00
1 parent e228a987a8
commit e4ca98301b
4 files changed
+40 -6

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
#!/bin/bash
if (($# == 0)); then
echo "Usage: omarchy-launch-or-focus-webapp [window-pattern] [url]"
exit 1
fi
exec omarchy-launch-or-focus $1 "omarchy-launch-webapp '$2'"