diff options
| author | Henry J. Webster <hwebs@hwebs.info> | 2026-07-30 18:49:53 -0500 |
|---|---|---|
| committer | Henry J. Webster <hwebs@hwebs.info> | 2026-07-30 18:49:53 -0500 |
| commit | ddd8f283326c65972d17eb1016e19539a6fac70e (patch) | |
| tree | 016f0965ba897cf2dc8a4c2a8796ac7ba232a59c /common | |
| parent | e9be3a6a753c09af64ef0f94481d5faa03bcef66 (diff) | |
enzo: serve portal color-scheme from gtk backend so web content goes dark
LibreWolf chrome was dark (via GTK theme) but web content stayed light. Root
cause is the portal, not the browser: the niri module routes the Settings
interface to xdg-desktop-portal-gnome, whose color-scheme depends on
gnome-settings-daemon. Under bare niri (no GNOME session) gsd is absent, so the
portal reported "no preference" and content's prefers-color-scheme resolved
light.
Pin org.freedesktop.impl.portal.Settings to the gtk backend, which reads the
org.gnome.desktop.interface color-scheme dconf key directly (no gsd), and add
xdg-desktop-portal-gtk. The key merges into the niri module's
xdg.portal.config.niri. Now the portal reports prefer-dark and content follows.
Assisted-by: Claude:claude-opus-4-8
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions
