Skip to content

Commit

Permalink
Set preferred color scheme for mutter
Browse files Browse the repository at this point in the history
  • Loading branch information
lenemter committed Aug 11, 2024
1 parent 3cd1ef7 commit 1487a90
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Backends/PrefersColorSchemeSettings.vala
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,9 @@ public class SettingsDaemon.Backends.PrefersColorSchemeSettings : Object {

accounts_service.prefers_color_scheme = new_color_scheme;

var mutter_settings = new GLib.Settings ("org.gnome.desktop.interface");
mutter_settings.set_enum ("color-scheme", new_color_scheme);

return true;
}

Expand Down

0 comments on commit 1487a90

Please sign in to comment.