Microphone Spoon - xcv58/Hammerspoon-xcv58 GitHub Wiki
The Microphone Spoon controls the default Microphone mute state.
Usage
- Install the Hammerspoon and open it if you haven't.
- Download the Microphone.spoon.zip and unzip it.
- Double click the
Microphone.spoon
and Hammerspoon will automatically install it for you in~/.hammerspoon/Spoons/
- 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 deviceCtrl+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" }
})```