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

Add Linux dark theme detection support #2962

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kdroidFilter
Copy link

Hello,

I propose adding Linux theme detection, inspired by my implementation in Platform Tools. This approach leverages gsettings commands to query the current theme and monitor changes via a dedicated thread.

Please note that I have not tested this solution directly on IntelliJ, but it should work correctly. I appreciate any feedback or suggestions for improvements.

Thank you for your consideration.

Introduce `LinuxDetector` to handle GTK-based dark theme detection for Linux systems. This implementation monitors GTK theme changes and detects whether a dark theme is active using `gsettings`. The new detector runs in a dedicated thread to ensure real-time updates and seamless integration.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant