mirror of
https://github.com/basecamp/omarchy.git
synced 2026-01-09 05:10:54 +08:00
10 lines
329 B
Bash
Executable File
10 lines
329 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Launch or focus on a given TUI identified by the passed in as the command.
|
|
# Use by commands like omarchy-launch-wifi to ensure there is only one wifi configuration screen open.
|
|
|
|
APP_ID="org.omarchy.$(basename "$1")"
|
|
LAUNCH_COMMAND="omarchy-launch-tui $@"
|
|
|
|
exec omarchy-launch-or-focus "$APP_ID" "$LAUNCH_COMMAND"
|