Skip to content

Instantly share code, notes, and snippets.

@antifuchs
Last active September 7, 2020 16:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save antifuchs/514a7d6585d2674f00afc29d12358576 to your computer and use it in GitHub Desktop.
Save antifuchs/514a7d6585d2674f00afc29d12358576 to your computer and use it in GitHub Desktop.
from talon import Context, Module
mod = Module()
modes = {
"record": "enable recording mode, writes files to ~/.talon/recordings/",
}
for key, value in modes.items():
mod.mode(key, value)
mode: all
-
start recording:
mode.enable("user.record")
stop recording:
mode.disable("user.record")
mode: user.record
-
settings():
speech.record_all = 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment