Vendor the command set the menu and shell depend on
This commit is contained in:
Executable
+14
@@ -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"
|
||||
Reference in New Issue
Block a user