mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
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:
8
bin/omarchy-launch-or-focus-webapp
Executable file
8
bin/omarchy-launch-or-focus-webapp
Executable 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'"
|
||||
Reference in New Issue
Block a user