-
-
Notifications
You must be signed in to change notification settings - Fork 449
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add command to automatically reload your theme #4718
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-tidy made some suggestions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be toggleable as a command rather than a UI thing imo, since it's an extremely small amount of people it's relevant for
Instead of using a FileWatcher, I would prefer the simplicity of a QTimer that runs every X ms (maybe every 500ms?) and reloads the current theme - while less performant, I think it's simpler to reason about
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Description
Adds an option to watch the custom theme and reload it on changes. The option is only active for the current session (until Chatterino is restarted) to reduce load.
This PR does a few more things. I wasn't sure if I should include this here. I could split the commits up until 8f4770a into a separate PR.