Skip to content

Commit

Permalink
Set preferred color scheme for mutter (#154)
Browse files Browse the repository at this point in the history
  • Loading branch information
lenemter authored Aug 12, 2024
1 parent 3cd1ef7 commit eb1690e
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 eb1690e

Please sign in to comment.