Beet Posted October 12, 2022 Share Posted October 12, 2022 (edited) 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 October 12, 2022 by Beet Link to comment Share on other sites More sharing options...
vitor Posted October 17, 2022 Share Posted October 17, 2022 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 More sharing options...
vitor Posted December 28, 2022 Share Posted December 28, 2022 @Beet Are you still interested in submitting this? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now