Update PushToTalk spoon to check list of apps when starting

These changes have been submitted as a PR against the main Spoons
repository here: https://github.com/Hammerspoon/Spoons/pull/169
This commit is contained in:
2020-05-06 20:40:19 +01:00
parent 55f96f74ca
commit 2ff0508f13
3 changed files with 32 additions and 0 deletions

View File

@@ -30,6 +30,7 @@ spoon.HeadphoneAutoPause:start()
-- Enable push-to-talk microphone functionality when specific apps are running.
hs.loadSpoon('PushToTalk')
spoon.PushToTalk.detect_on_start = true
spoon.PushToTalk.app_switcher = { ['TeamSpeak 3'] = 'push-to-talk' }
spoon.PushToTalk:start()