I know that BTT monitors device connection/disconnection events (since it has a message for it. However, there doesn't seem to be a trigger for that.
I will like to perform actions when my dock/external screens are connected. Is that possible without long-running AppleScript which stupidly checks in loop for that?