michaeljolley / number-one

A container based Twitch chat bot that provides chat commands, overlays, video interaction and more.
MIT License
32 stars 13 forks source link

Remind users to remove unused themes #148

Open raushanraja opened 3 years ago

raushanraja commented 3 years ago

It will be good idea to remind users to uninstall/disable unused themes after certain days.

michaeljolley commented 3 years ago

Should this only be for themes that we've installed? If so, we'll need to track them. Then also track when they get activated. @parithon do you know off the top of your head if there's an event to listen to for theme activations? I'd guess so.

michaeljolley commented 3 years ago

@all-contributors please add @raushanraja for ideas.

Great idea @raushanraja!

allcontributors[bot] commented 3 years ago

@MichaelJolley

I've put up a pull request to add @raushanraja! :tada:

parithon commented 3 years ago

@parithon do you know off the top of your head if there's an event to listen to for theme activations? I'd guess so.

When a theme is changed in vscode the user's settings.json is updated with the new theme. Whenever the settings.json is updated, an event is fired which we can listen for and do things as needed.

vscode.workspace.onDidChangeConfiguration