diff options
Diffstat (limited to 'machines')
| -rw-r--r-- | machines/enzo/desktop.nix | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/machines/enzo/desktop.nix b/machines/enzo/desktop.nix index 4d1c29b..1e51e53 100644 --- a/machines/enzo/desktop.nix +++ b/machines/enzo/desktop.nix @@ -118,6 +118,17 @@ Status = "locked"; }; + # Follow the desktop's dark setting for web content. Firefox's default + # (widget.use-xdg-desktop-portal.settings = 2 "auto") reads GTK + # directly under bare niri and ignores the portal, so content stayed + # light even after the portal correctly reported prefer-dark. Force it + # to always use the portal (1) so prefers-color-scheme follows the + # color-scheme we serve via xdg-desktop-portal-gtk above. + "widget.use-xdg-desktop-portal.settings" = { + Value = 1; + Status = "default"; + }; + # Blank home page + blank new tab "browser.startup.homepage" = { Value = "about:blank"; |
