cursorless-dev / cursorless

Don't let the cursor slow you down
https://www.cursorless.org/
MIT License
1.15k stars 81 forks source link

Turn decorations On/Off automatically when Talon active/inactive #2017

Open BoltonBailey opened 1 year ago

BoltonBailey commented 1 year ago

Hello, cool project, I am just trying it out. Not sure how easy this would be to achieve, but I figured I would post an enhancement request.

I noticed after turning off Talon that the decorations in my VSCode window remained. I think it could be nice if there could be a setting to turn the decorations on when and only when Talon is listening and Cursorless is ready to go, both so that the user has a visual indication of whether things are active and also so that the visual field is not cluttered if the user decides to turn Talon off for a while.

pokey commented 1 year ago

Interesting idea. @AndreasArvidsson i guess we could achieve this using our state file? This does seem like the kind of rapidly(-ish) changing thing that we might want to use a separate json for so we don't refresh spoken forms every time they sleep talon

josharian commented 1 year ago

Folks who want this could add the relevant toggle calls Talon-side.

pokey commented 1 year ago

Yeah that's true. Tho we should prob add commands to turn the hats on and off specifically in addition to the toggle to make that more robust