Add documentation to Omarchy commands

This commit is contained in:
David Heinemeier Hansson
2026-01-05 10:17:32 +01:00
parent 3801e0e633
commit ca40676657
78 changed files with 192 additions and 10 deletions

View File

@@ -1,5 +1,8 @@
#!/bin/bash
# Launch or focus on a given web app identified by the window-pattern.
# Use by some default bindings, like the one for WhatsApp, to ensure there is only one instance of the application open.
if (($# == 0)); then
echo "Usage: omarchy-launch-or-focus-webapp [window-pattern] [url-and-flags...]"
exit 1
@@ -9,4 +12,4 @@ WINDOW_PATTERN="$1"
shift
LAUNCH_COMMAND="omarchy-launch-webapp $@"
exec omarchy-launch-or-focus "$WINDOW_PATTERN" "$LAUNCH_COMMAND"
exec omarchy-launch-or-focus "$WINDOW_PATTERN" "$LAUNCH_COMMAND"