Post

Replies

Boosts

Views

Activity

Reply to How to avoid "Pushing respawn out by y seconds"?
Hello. Im a few years late, but I'm trying to set up a custom LaunchAgent file in ~/Library/LaunchAgents/ to run a .sh file when the bluetooth state changes (the .sh file then changes the audio input device based on the bluetooth device that just connected, but thats beside the point). Ive got it set up and working, but have run into this exact issue now. After reading Quinn's response, I wonder if I'm going about this the correct way. If using a custom LaunchAgent isn't the recommended way to achieve something like this, how should I go about it as so far all of the information I've found on other forums (main inspiration from https://apple.stackexchange.com/questions/332434/how-can-i-trigger-an-applecript-or-automator-app-when-a-specific-bluetooth-devic ) has pointed me towards custom LaunchAgents
Sep ’24