From 79df296690854154dc6e9e50247108b9b9624ffe Mon Sep 17 00:00:00 2001 From: Alexander Heldt Date: Tue, 3 Nov 2026 08:43:36 +0100 Subject: [PATCH] pinwheel: Tint work Firefox toolbars instead of outlining the window --- hosts/pinwheel/modules/firefox/default.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/hosts/pinwheel/modules/firefox/default.nix b/hosts/pinwheel/modules/firefox/default.nix index 648711b..5745326 100644 --- a/hosts/pinwheel/modules/firefox/default.nix +++ b/hosts/pinwheel/modules/firefox/default.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: +{ pkgs, config, ... }: let wrapped = pkgs.wrapFirefox pkgs.firefox-devedition-unwrapped { extraPolicies = { @@ -100,8 +100,12 @@ in }; userChrome = '' - #main-window { - border: 2px solid #9400FF !important; + #navigator-toolbox, + #nav-bar { + background-image: linear-gradient( + color-mix(in srgb, #${config.lib.colors.foreground} 5%, transparent), + color-mix(in srgb, #${config.lib.colors.foreground} 5%, transparent) + ) !important; } ''; };