Skip to content

iphands/osxtray

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

WIP tray stuff for OSX

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published