Skip to content
Modules to be used with Talon for hands-free input
Python Other
  1. Python 99.4%
  2. Other 0.6%
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.flake8 flake config Jun 30, 2019
.pre-commit-config.yaml
1password.py fixed bug with password show and add more command support May 9, 2019
README.md add some basic information to the readme Aug 12, 2019
app_bundle.py add app bundle command Jul 3, 2019
basic.py fine gets confused with find, so let's try far Apr 1, 2019
bundle_groups.py add html module Jul 1, 2019
chrome.py namespace Jun 29, 2019
debug.py blacked out Mar 5, 2019
debug_context.py turn these off for now Jun 10, 2019
emojis.py add more emojis Jul 8, 2019
eye_tracker.py comment out for now Dec 21, 2018
firefox.py namespace these with 'go' May 28, 2019
generic_editor.py specify by voice how many last commands render in history webview Aug 14, 2019
git.py update command to get recently merged Aug 9, 2019
google_docs.py blacked out Mar 5, 2019
google_slides.py add google slides support Mar 16, 2019
help.py port help from community Jun 30, 2019
history.py specify by voice how many last commands render in history webview Aug 14, 2019
homophones.csv add light/lite May 28, 2019
homophones.py preserve formatting May 31, 2019
html.py
iterm.py
keeper.py add keeper, like phrase but more greedy Apr 4, 2019
monosnap.py add monosnap support Jun 16, 2019
mouse.py remove chiff, which gets confused with shift Mar 18, 2019
noise.py comment out for now Dec 21, 2018
perl.py add mojolicious Jun 3, 2019
picker.css add emoji search Jul 8, 2019
picker.html add emoji search Jul 8, 2019
picker.py add emoji search Jul 8, 2019
python.py move python commands to their own file, remove emoji search to prep f… Jul 6, 2019
repeater.py blacked out Mar 5, 2019
setup.py add formatters and linters setup Apr 4, 2019
short_cat.py add short cat module Aug 11, 2019
show.py blacked out Mar 5, 2019
slack.py namespace May 28, 2019
spectacle.py add divvy shortcuts for demo layout May 31, 2019
speech_toggle.py blacked out Mar 5, 2019
standard.py add dragon words shortcut Jul 8, 2019
sublime.py namespace Jun 30, 2019
switcher.py focus is a bit long to say so frequently Apr 1, 2019
symbols.py pipe gets incorrectly triggered too frequently so remove it Apr 1, 2019
utils.py specify by voice how many last commands render in history webview Aug 14, 2019
vim.py add some vim shortcuts Apr 1, 2019

README.md

Talon Modules for use with Talon

These modules contain voice and noise commands to be used with Talon, a hands-free input replacement. Some modules are meant to be used with the Tobii 4C eye tracker, but it is not required for most commands.

Some modules were originally copied from Talon Community.

Prerequisites

  • Install Talon
  • Install Dragon (most commands may also work with the free built-in voice engine)
  • Microphone (built in microphone won't produce great results, a good microphone makes a significant difference)

Follow the Getting Started section of the Talon docs.

Installing

Clone this repository into ~/.talon/user. Any files in this directory will automatically be loaded into Talon.

Getting Started

Each file will have a Context (e.g., "sublime", "slack"). A Context is a logical grouping of commands which can be active globally or only under certain conditions (e.g., when a specific app is in focus, when working in a file with a specific file extension, or even when a specific song is playing on spotify).

All noise or voice commands for a context will be inside of a dictionary passed into the keymap function of the context.

from talon.voice import Context, Key

context = Context("example", bundle="com.example")
context.keymap({

	# voice command => action
	"say this": "talon will do this",

	# generate a string
	"get status": "git status",

	# press keys using Key
	"space": Key("space"),

	# press multiple keys
	"copy": Key("cmd-c"),

	# multiple actions 
	"args": ["()", Key("left")],
})
You can’t perform that action at this time.