Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alexlafroscia/alfred-switch-audio-source
Alfred workflow to switch audio device
https://github.com/alexlafroscia/alfred-switch-audio-source
Last synced: 2 days ago
JSON representation
Alfred workflow to switch audio device
- Host: GitHub
- URL: https://github.com/alexlafroscia/alfred-switch-audio-source
- Owner: alexlafroscia
- Created: 2017-01-27T03:59:06.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2022-05-10T11:15:43.000Z (over 2 years ago)
- Last Synced: 2024-10-23T11:08:48.069Z (11 days ago)
- Language: Python
- Homepage:
- Size: 2.13 MB
- Stars: 85
- Watchers: 3
- Forks: 14
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Alfred Switch Audio
An [Alfred][alfred] front-end for [`switchaudio-osx`][switchaudio-osx]
## Installation
1. Download the [latest version of the workflow][download-link]
2. Install [`switchaudio-osx`][switchaudio-osx], probably through [Homebrew][homebrew]```bash
brew install switchaudio-osx
```3. Take note of where the program was installed
```bash
which SwitchAudioSource
```4. Configure the environment variable in the Alfred plugin to point to that path
a. Open your Alfred preferences and select this plugin
![Plugin Selection](./images/setup-screen-1.png)
b. Open the Configuration panel highlighted in the image below
c. Change the _Workflow Environment Variable_ to match the value found in the previous step![Plugin Configuration](./images/setup-screen-2.png)
## Usage
This plugin provides an `audio out` and `audio in` command that will list the available devices. Select one of them to make that the active audio output device.
![Workflow Screenshot](./images/screenshot.png)
The additional command `toggle audio output` will toggle between your last audio output and your current one.
Both commands have the ability to add a hotkey for quick access.[alfred]: https://www.alfredapp.com
[switchaudio-osx]: https://github.com/deweller/switchaudio-osx
[download-link]: https://github.com/alexlafroscia/alfred-switch-audio-source/releases/latest/download/Switch.Audio.alfredworkflow
[homebrew]: http://brew.sh