Replies: 2 comments 2 replies
-
Hey, there is indeed a dconf method:
(note the single quotes inside double quotes) Or you could run gnome-control-center and change there:
I'm not sure I want to build this setting into niri because it is a GNOME setting which we need just because we happen to currently use the GNOME portal. Similarly to how there's no niri light-dark toggle, and instead you need to write to dconf by hand. |
Beta Was this translation helpful? Give feedback.
-
IMO it should be the other way around: use the dconf color in niri, for example with color functions:
Though in my crazy project of building an "actually GNOME session based" DE (like what Phosh does) something like that would be hardcoded anyway 🙃 |
Beta Was this translation helpful? Give feedback.
-
For a little bit now, we have had a proper accent color API that was implemented in KDE and eventually GNOME
Because we use the
xdg-desktop-portal-gnome
we should be able to pass accent colour information using it (as far as I understand) based on a value set in Niri's configuration, think maybe aaccent-color
that then accepts the same (non-gradient) values as thefocus-ring
orborder
doOf course GNOME Apps don't accept just any color, from behavior I've seen on KDE it seems to choose the closest GNOME Color, so a megenta-ish color would become GNOME's purple, an ultramarine color would become GNOME's blue, etc
Maybe also a way to sync the accent with (one of) the
focus-ring
orborder
colors? Not sure how useful that'd be though...Oh, and to get that out of the way, there is probably a way to do this with dbus that I simply don't know about, just thought proper config for this would be cool 🥴
Beta Was this translation helpful? Give feedback.
All reactions