-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Linux: Use desktop portals to get dark theme information #1381
Comments
You don't need an additional DBus library as there is already a DBus implementation inside Gio which is part of Gir.Core. You can probably just use it already as it is a dependency of Gdk, which itself is a dependency of Gtk. I wrote a small sample to detect the color-scheme which works for me on fedora 40. Any feedback that it works on other current distributions is very welcome. If it works, something similar should probably the base for DevToys color-scheme detection. I worked this out via the linked documentation and a tool called D-Spy. |
Originally posted by @CodedOre in #1378 (comment)
The text was updated successfully, but these errors were encountered: