firefox: only use userChrome css for sway

This commit is contained in:
Leonardo Eugênio 2026-06-14 21:43:16 -03:00
parent 7336cae5b4
commit f10d4adca4

View file

@ -1,10 +1,12 @@
{
config,
pkgs,
lib,
...
}:
let
inherit (config.my.theme) color;
inherit (config.my) theme desktop;
inherit (theme) color;
bugfixedFirefox = pkgs.firefox-devedition-unwrapped // {
requireSigning = false;
@ -133,7 +135,7 @@ in
"devtools.chrome.enabled" = true;
"devtools.debugger.remote-enabled" = true;
};
userChrome = ''
userChrome = lib.optionalString (color.type == "dark" && desktop == "sway") ''
#sidebar-main {
background-color: ${color.bg};
}