Skip to content

Latest commit

 

History

History
41 lines (31 loc) · 1.56 KB

README.md

File metadata and controls

41 lines (31 loc) · 1.56 KB

OSX Tray

Can't live my global microphone mute tray thingy.

WIP at the moment there are some issues:

  • Still need to clean up the old listeners on hardware change :D
  • Fixed: OSX sucks! For some reason muted and vol=0 Zoom and other apps can still hear me :(
  • Fixed: including the code does not setup new listeners when devices changes (includes headphones plug/unplug)
  • Fixed: There is still some issue where with two devices osxtray might report mute, but Zoom is looking at the other mic. I'll probably change the toggle (Apple Script) code to just mute all devices instead of targeting the primary.

Install / Run

$ git clone https://github.com/iphands/osxtray.git
$ cd osxtray
$ cargo build --release && ./target/release/osxtray

You can also import the Automator workflow and use it as a quick action (touchbar)

$ cargo build --release
$ mkdir -p ~/bin && cp ./target/release/mic_toggle ~/bin/
$ cp -r workflow/Toggle.workflow  ~/Library/Services/

How to toggle mute from keyboard

I used this AppleScript + Automator + keyboard shortcut guide for now.

And this helpful hint for the AppleScript

Instead of using the AppleScript use the ./target/release/mic_toggle binary. This helps mute/unmute all the mics that are on the systems.

Screenshots

screenshot