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

Implement freedesktop.org color-scheme preference #936

Open
salim-b opened this issue Oct 13, 2024 · 0 comments
Open

Implement freedesktop.org color-scheme preference #936

salim-b opened this issue Oct 13, 2024 · 0 comments

Comments

@salim-b
Copy link

salim-b commented Oct 13, 2024

The XDG Desktop Portal specification provides the org.freedesktop.appearance.color-scheme setting to indicate the system’s preferred color scheme. Respecting this would allow the Flatpak to automatically choose the proper theme variant (light or dark).

Currently, I have to manually override the theme variant like this to make the MediaInfo Flatpak open in dark mode:

flatpak override --user --env=GTK_THEME=Adwaita:dark net.mediaarea.MediaInfo

(I'm using GNOME, although the above should apply to all Linux desktop environments implementing the XDG Desktop Portal spec.)

More information

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

No branches or pull requests

1 participant