From 06daa2ea8f0523a75fd3bff5b559e2e15de5c41a Mon Sep 17 00:00:00 2001 From: Alex Bates Date: Mon, 17 Aug 2026 12:13:23 +0100 Subject: [PATCH] remove Zen content margin under Niri Change-Id: I85ca558fb8fe688f007c755e01bb3b266a6a6964 --- modules/home/browser.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/home/browser.nix b/modules/home/browser.nix index 0d21a4b..ed5c95f 100644 --- a/modules/home/browser.nix +++ b/modules/home/browser.nix @@ -80,6 +80,10 @@ "network.protocol-handler.external.slack" = true; "network.protocol-handler.warn-external.slack" = false; "network.protocol-handler.prompt-without-user-activation" = false; + } + // lib.optionalAttrs (!config.isMacOS) { + # Remove Zen's margin around web content under Niri. + "zen.theme.content-element-separation" = 0; }; extensions.packages = with inputs.firefox-addons.packages.${pkgs.stdenv.hostPlatform.system}; [ -- 2.51.2