I started fiddling around with Alfred and switching connection from iPhone to Mac is something I do regularly. So thanks for this one.

As i’m new to the Alfred ecosystem, is there a way to do a “toggle” type of workflow?

For example, after triggering the keyword, the workflow checks if the airpods is connected to the laptop. If not, it does the workflow you described. If it is, it disconnects from it manually.

Reason for disconnection is i found that when i disconnect to my mac manually, the next time i plug the airpods to my ears and both my mac/iphone is near, it connects to my iphone (because normal airpods behavior is if you don’t disconnect manually, is to connect with the last device)

Marketer, freelancer, husband | The Startup, Better Marketing, The Ascent, PGSG | Find out how I grew my organic traffic by 110% in 5 mo: https://bit.ly/3fpilkW

Marketer, freelancer, husband | The Startup, Better Marketing, The Ascent, PGSG | Find out how I grew my organic traffic by 110% in 5 mo: https://bit.ly/3fpilkW