mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 13:46:41 +00:00
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:
@@ -47,6 +47,15 @@
|
||||
"signature": "PushToTalk.app_switcher",
|
||||
"stripped_doc": "For example this `{ ['zoom.us'] = 'push-to-talk' }` will switch mic to `push-to-talk` state when Zoom app starts.",
|
||||
"type": "Variable"
|
||||
},
|
||||
{
|
||||
"def": "PushToTalk.detect_on_start",
|
||||
"desc": "Check running applications when starting PushToTalk.",
|
||||
"doc": "Check running applications when starting PushToTalk.\nDefaults to false for backwards compatibility. With this disabled, PushToTalk will only change state when applications are launched or quit while PushToTalk is already active. Enable this to look through list of running applications when PushToTalk is started. If multiple apps defined in app_switcher are running, it will set state to the first one it encounters.",
|
||||
"name": "detect_on_start",
|
||||
"signature": "PushToTalk.detect_on_start",
|
||||
"stripped_doc": "Defaults to false for backwards compatibility. With this disabled, PushToTalk will only change state when applications are launched or quit while PushToTalk is already active. Enable this to look through list of running applications when PushToTalk is started. If multiple apps defined in app_switcher are running, it will set state to the first one it encounters.",
|
||||
"type": "Variable"
|
||||
}
|
||||
],
|
||||
"desc": "Implements push-to-talk and push-to-mute functionality with `fn` key.",
|
||||
|
||||
Reference in New Issue
Block a user