Jump to content

paulsri

Member
  • Posts

    4
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by paulsri

  1. 1 hour ago, DJay said:

    Unfortunately with macOS 10.12 High Sierra, it didn't work for me.

    The command SwitchAudioSource -a didn't show my AirPods.

    Just editing the workflow of course was also not working. :/

     

    Thanks for the update, DJay. I haven't upgraded to 10.13 yet, so I can't say for sure. You could try upgrading the switchaudio-osx package via brew:

     

    https://github.com/deweller/switchaudio-osx

     

    Though I'm not sure if that has been tested with 10.13 yet. 

  2. Wrote a little shell script that calls the native macOS caffeinate binary to prevent macOS from sleeping. Not a ton of functionality, basically:

     

    • default, 1 hour
    • specify # of hours
    • turn caffeination off

     

    It has notifications and sounds, which you can of course disable in the workflow editor if you like.

     

    Hope you all like it!

     

    Source code and download here:

     

    https://github.com/paulsri/alfred-caffeinate

     

     

    notify-notcaffeinated.png

    notify-disablecaffeine.png

    notify-caffeine8.png

    notify-already.png

    alfred-caffeineoff.png

    alfred-caffeine8.png

    alfred-caffeine.png

  3. Since getting the AirPods, I wanted to be able to switch between them and the default audio device(s) with Alfred.

     

    And I wanted to change both the input and output devices to the AirPods and back. e.g. avoiding the state of input = Built-in Microphone, while output = AirPods.

     

    Usage is pretty simple with the default being to enable the AirPods:

     

    airpods

    or 

    airpods on

    or

    airpods blah

    and to disable the AirPods or revert back:

    airpods off

    More detailed setup and configuration as well as dependencies and code are here:

     

    https://github.com/paulsri/alfred-airpods-selector

     

×
×
  • Create New...