Skip to content

Set global dark theme preference when switching theme #231

Description

@Jacalz

Is your feature request related to a problem? Please describe:

It is now common place in Gnome (and possibly KDE Plasma as well) to set a global DBus value depending on dark/light theme preference. Fyne v2.3.0 will start watching this setting (fyne-io/fyne#2657) but we do not currently set it in Fynedesk.

It believe it would be good if we could set it here to make sure that non Fyne apps (if the user has GTK+4+libadwaita apps or anything else that supports it) follow the preference.

Is it possible to construct a solution with the existing API?

I think so but it might be that we are using the fyne_settings application. In that case, it probably only makes sense to set the DBus preference when running inside Fynedesk. It should be up to the desktop environment to set it in my opinion.

Describe the solution you'd like to see:

Switching between light and dark mode sets the DBus setting that makes sure that all applications that support it automatically follow light and dark preferences.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    blockerItems that would block a forthcoming releaseenhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions