From a3222228cab2e8e828260b81220c4343e9abf488 Mon Sep 17 00:00:00 2001 From: "quentin@aristote.fr" Date: Wed, 16 Apr 2025 21:15:33 +0200 Subject: home: firefox: fix treestyletabs css --- .../home-manager/personal/programs/firefox/default.nix | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/modules/home-manager/personal/programs/firefox/default.nix b/modules/home-manager/personal/programs/firefox/default.nix index 2bcf72a..d103c3d 100644 --- a/modules/home-manager/personal/programs/firefox/default.nix +++ b/modules/home-manager/personal/programs/firefox/default.nix @@ -11,19 +11,6 @@ with lib; let inherit (pkgs.lib.personal) toUserJS; }; engines = import ./engines.nix {inherit lib pkgs;}; - userchrome = let - userchromeTSTout = ./userchrome/treestyletabs-outer.css; - userchromeTSTin = config.lib.stylix.colors { - template = builtins.readFile ./userchrome/treestyletabs-inner.css; - extension = ".css"; - }; - in - '' - @import "${userchromeTSTout}"; - '' - + lib.optionalString (config.lib ? stylix) '' - // @import "${userchromeTSTin}"; - ''; webappsWithIds = (builtins.foldl' ({ counter, @@ -128,7 +115,7 @@ in { order = ["Searx" "Wikipedia"]; }; extraConfig = userjs.default; - userChrome = userchrome; + userChrome = ./userchrome/treestyletabs-outer.css; }; videoconferencing = { @@ -151,7 +138,7 @@ in { default = "Searx"; }; extraConfig = userjs.videoconferencing; - userChrome = userchrome; + userChrome = ./userchrome/treestyletabs-outer.css; }; } webappsWithIds; -- cgit v1.2.3