Vendor the command set the menu and shell depend on

This commit is contained in:
2026-09-19 23:57:12 -04:00
parent 9501f2bb4d
commit c5434026a8
179 changed files with 12414 additions and 54 deletions
+14
View File
@@ -0,0 +1,14 @@
#!/bin/bash
# blob:summary=Launch a TUI or focus an existing terminal window for it
# blob:args=[--app-id=<app-id>] <command> [args...]
if [[ ${1:-} == --app-id=* ]]; then
APP_ID="${1#--app-id=}"
else
APP_ID="org.blob.$(basename "$1")"
fi
LAUNCH_COMMAND="blob-launch-tui $@"
exec blob-launch-or-focus "$APP_ID" "$LAUNCH_COMMAND"