To create an auto-run macOS service that monitors the connection of your Stream Deck MK.2 and runs the Stream Deck app when the device is connected, you can use a launchd user agent. Here's how to set it up:
- Create a new script
monitor_stream_deck.shin your home directory:
nano ~/monitor_stream_deck.sh- Paste the following script into the file: