Add some commands
This commit is contained in:
9
.local/bin/station-launch-or-focus-tui
Executable file
9
.local/bin/station-launch-or-focus-tui
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Launch or focus on a given TUI identified by the passed in as the command.
|
||||
# Use by commands like station-launch-wifi to ensure there is only one wifi configuration screen open.
|
||||
|
||||
APP_ID="org.station.$(basename "$1")"
|
||||
LAUNCH_COMMAND="station-launch-tui $@"
|
||||
|
||||
exec station-launch-or-focus "$APP_ID" "$LAUNCH_COMMAND"
|
||||
Reference in New Issue
Block a user