Last active
September 7, 2020 16:52
-
-
Save antifuchs/514a7d6585d2674f00afc29d12358576 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mode: all | |
- | |
start recording: | |
mode.enable("user.record") | |
stop recording: | |
mode.disable("user.record") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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