Microphone Spoon - xcv58/Hammerspoon-xcv58 GitHub Wiki

The Microphone Spoon controls the default Microphone mute state.

Usage

  1. Install the Hammerspoon and open it if you haven't.
  2. Download the Microphone.spoon.zip and unzip it.
  3. Double click the Microphone.spoon and Hammerspoon will automatically install it for you in ~/.hammerspoon/Spoons/
  4. Add this hs.loadSpoon("Microphone"):bindHotKeys() into your configurable file, usually in ~/.hammerspoon/init.lua.

The default shortcuts are:

  • Ctrl+Shift+t -> toggle mute state for the default input device
  • Ctrl+Shift+s -> toggle speak mode for the default input device

Configuration

You can config the hotkeys by using a customized argument for bindHotKeys, a sample code is:

hs.loadSpoon("Microphone"):bindHotKeys({
  toggleMute = { {"⌘", "⌃", "⇧"}, "t" },
  toggleSpeakModal = { {"⌘", "⌃", "⇧"}, "s" }
})```