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-oleg
2025-09-14 14:58:08 -05:00
committed by GitHub
parent e228a987a8
commit e4ca98301b
4 changed files with 40 additions and 6 deletions

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'"