We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71a90f3 commit 1de1237Copy full SHA for 1de1237
cursorless-talon/src/marks/mark.py
@@ -58,10 +58,14 @@ def cursorless_grapheme(m) -> str:
58
59
60
@mod.capture(
61
- rule="[{user.cursorless_hat_color}] [{user.cursorless_hat_shape}] <user.cursorless_grapheme>"
+ rule="[{user.cursorless_hat_color} | gray] [{user.cursorless_hat_shape}] <user.cursorless_grapheme>"
62
)
63
def cursorless_decorated_symbol(m) -> dict[str, Any]:
64
"""A decorated symbol"""
65
+ if m[0] == "gray":
66
+ actions.app.notify(
67
+ "The color 'gray' is the default and doesn't need to be spoken out loud. Just say eg 'take air' instead of 'take gray air'"
68
+ )
69
hat_color = getattr(m, "cursorless_hat_color", "default")
70
try:
71
hat_style_name = f"{hat_color}-{m.cursorless_hat_shape}"
0 commit comments