Skip to content

Commit 8c9cfc3

Browse files
Remove support for spoken gray color (#1797)
## Checklist - [ ] I have added [tests](https://www.cursorless.org/docs/contributing/test-case-recorder/) - [ ] I have updated the [docs](https://github.com/cursorless-dev/cursorless/tree/main/docs) and [cheatsheet](https://github.com/cursorless-dev/cursorless/tree/main/cursorless-talon/src/cheatsheet) - [ ] I have not broken the cheatsheet
1 parent 3242176 commit 8c9cfc3

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

cursorless-talon/src/marks/decorated_mark.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,10 @@ def cursorless_grapheme(m) -> str:
2626

2727

2828
@mod.capture(
29-
rule="[{user.cursorless_hat_color} | gray] [{user.cursorless_hat_shape}] <user.cursorless_grapheme>"
29+
rule="[{user.cursorless_hat_color}] [{user.cursorless_hat_shape}] <user.cursorless_grapheme>"
3030
)
3131
def cursorless_decorated_symbol(m) -> dict[str, Any]:
3232
"""A decorated symbol"""
33-
if m[0] == "gray":
34-
actions.app.notify(
35-
"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'"
36-
)
3733
hat_color = getattr(m, "cursorless_hat_color", "default")
3834
try:
3935
hat_style_name = f"{hat_color}-{m.cursorless_hat_shape}"

0 commit comments

Comments
 (0)