Code Monkey home page Code Monkey logo

alfred-switch-audio-source's Introduction

Alfred Switch Audio

An Alfred front-end for switchaudio-osx

Installation

  1. Download the latest version of the workflow

  2. Install switchaudio-osx, probably through Homebrew

    brew install switchaudio-osx
  3. Take note of where the program was installed

    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

    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

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

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-switch-audio-source's People

Contributors

alexlafroscia avatar jwmann avatar mickaelperrin avatar nodeselector avatar shalecraig avatar skydiver avatar timbroder avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

alfred-switch-audio-source's Issues

Need help maintaining this repo?

Looking through open pull requests and issues it seems you're a bit strapped for time at the moment. I'd like to offer helping maintain the project.

Setting Environment Variable

Can you provide some details (screenshots) on how to set the environment variable for less advanced Alfred users?

Feature request: Set input device

Would be useful to show available input devices by typing "input" and available output devices by typing "output" and then selecting a device from the list.

somehow does not work anymore with SwitchAudioSource 1.1.0

There was a update to SwitchAudioSource 1.1.0 yesterday and they changed something in their command line stuff. Your python scripts seems to be broken with that somehow?

Alfred Logging shows this
11:38:13.567] Logging Started...
[11:38:16.845] Switch Audio[Script Filter] Queuing argument '(null)'
[11:38:16.961] Switch Audio[Script Filter] Script with argv '(null)' finished
[11:38:16.963] Switch Audio[Script Filter] {"items": []}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.