-
Notifications
You must be signed in to change notification settings - Fork 780
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
30 additions
and
23 deletions.
There are no files selected for viewing
6 changes: 4 additions & 2 deletions
6
apps/talon/talon_debug/talon_debug.py → .../talon_debug_window/talon_debug_window.py
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,16 @@ | ||
# this functionality is only available in the talon beta | ||
from talon import Module | ||
|
||
mod = Module() | ||
mod.apps.talon_debug = """ | ||
mod.apps.talon_debug_window = """ | ||
os: mac | ||
and app.bundle: com.talonvoice.Talon | ||
win.title: Talon Debug | ||
""" | ||
mod.apps.talon_debug = """ | ||
mod.apps.talon_debug_window = """ | ||
os: windows | ||
and app.name: Talon | ||
os: windows | ||
and app.exe: talon.exe | ||
win.title: Talon Debug | ||
""" |
11 changes: 6 additions & 5 deletions
11
apps/talon/talon_debug/talon_debug.talon → ...lon_debug_window/talon_debug_window.talon
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,17 @@ | ||
app: talon_debug | ||
# this functionality is only available in the talon beta | ||
app: talon_debug_window | ||
- | ||
tag {user.talon_tags}: user.paste("{talon_tags}") | ||
tag {user.talon_tags}: "{talon_tags}" | ||
|
||
#commands for dictating key combos | ||
key <user.keys> over: "{keys}" | ||
key <user.modifiers> over: "{modifiers}" | ||
|
||
action {user.talon_actions}: insert(talon_actions) | ||
action {user.talon_actions}: "{talon_actions}" | ||
# requires user.talon_populate_lists tag. do not use with dragon | ||
list {user.talon_lists}: "{talon_lists}" | ||
|
||
# requires user.talon_populate_lists tag. do not use with dragon | ||
capture {user.talon_captures}: "{talon_captures}" | ||
set {user.talon_settings}: user.paste("{talon_settings}") | ||
application {user.talon_apps}: user.paste("{talon_apps}") | ||
set {user.talon_settings}: "{talon_settings}" | ||
application {user.talon_apps}: "{talon_apps}" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
list: user.code_common_function | ||
tag: user.talon | ||
- | ||
insert: insert | ||
key: key | ||
print: print | ||
repeat: repeat | ||
insert | ||
key | ||
repeat |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
app: vscode | ||
win.title: /— user/ | ||
win.title: /— knausj_talon/ | ||
win.title: / - user - Visual Studio Code/ | ||
# This file activates talon-specific python commands | ||
# by default, it simply looks for the python tag to be active | ||
# lines 5-8 provide an example to make the activation more specific | ||
# which may be preferred by people who code in other python projects | ||
# app: vscode | ||
# win.title: /— user/ | ||
# win.title: /— knausj_talon/ | ||
# win.title: / - user - Visual Studio Code/ | ||
tag: user.python | ||
- | ||
tag(): user.talon_python |
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