Jump to content

Audio Switcher


Beet

Recommended Posts

I started with the idea in https://agileadam.com/2020/05/switch-audio-input-output-device-using-alfred/, turned it into an Alfred workflow, and collaborated with https://github.com/Jeffr89 to make the setup easier.

 

It has an external dependency which can be installed with `brew install switchaudio-osx`.

 

It doesn't use ENV vars for configuration, but is a bit naughty in writing workflow variables directly to the .plist file when it autodetects switchaudio-osx.

 

Usage and screenshots in the README: https://github.com/beet/alfred_audio_switcher

 

Edited by Beet
Link to comment
Share on other sites

Thank you for the submission.

 

On 10/12/2022 at 11:48 PM, Beet said:

It doesn't use ENV vars for configuration, but is a bit naughty in writing workflow variables directly to the .plist file when it autodetects switchaudio-osx.

 

That’s indeed a bit hacky. What’s the reasoning behind it? Alfred 5 has the Homebrew paths in PATH by default, so you can just call the tool directly, no need to write it.

 

If there are other settings, they should be User Configuration, which not only is user-facing but creates a prefs.plist. If the written data is not for user tweaking, it should instead go into alfred_workflow_data.

 

Additionally, could you share some backgroundless screenshots, as per the pinned post?

Link to comment
Share on other sites

  • 2 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...