summaryrefslogtreecommitdiff
path: root/machines/enzo/disko.nix
diff options
context:
space:
mode:
authorHenry J. Webster <hwebs@hwebs.info>2026-07-30 18:49:53 -0500
committerHenry J. Webster <hwebs@hwebs.info>2026-07-30 18:49:53 -0500
commitddd8f283326c65972d17eb1016e19539a6fac70e (patch)
tree016f0965ba897cf2dc8a4c2a8796ac7ba232a59c /machines/enzo/disko.nix
parente9be3a6a753c09af64ef0f94481d5faa03bcef66 (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 'machines/enzo/disko.nix')
0 files changed, 0 insertions, 0 deletions