Skip to content
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

Accent color changed listener #25

Closed
ricardoboss opened this issue Jul 5, 2023 · 3 comments
Closed

Accent color changed listener #25

ricardoboss opened this issue Jul 5, 2023 · 3 comments
Labels
duplicate This issue or pull request already exists

Comments

@ricardoboss
Copy link
Contributor

Hi, great project!

Is it possible to provide a callback that gets invoked whenever the accent color on the given system changes?

Currently, I (or the user) have to restart the app for it to pick up the new accent color.

@bdlukaa
Copy link
Owner

bdlukaa commented Jul 7, 2023

Duplicate of #6

@bdlukaa bdlukaa marked this as a duplicate of #6 Jul 7, 2023
@bdlukaa bdlukaa closed this as not planned Won't fix, can't repro, duplicate, stale Jul 7, 2023
@bdlukaa bdlukaa added the duplicate This issue or pull request already exists label Jul 7, 2023
@ricardoboss
Copy link
Contributor Author

I don't think #6 is a dupe since it only focusses on Windows and is more of an RFC on the linked PR, not an issue. Also: the other issue doesn't answer my question, it only hints at the possibility that something like this is possible on Windows.

@bdlukaa
Copy link
Owner

bdlukaa commented Jul 7, 2023

I am afraid Windows and Linux are the only platforms that have a listener to window changes.

The linked PR was updated and now has a working example and a showcase. I will merge #7 but keep #6 open for further investigation on a listener to accent colors on the other platforms!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants