firefox: only use userChrome css for sway
This commit is contained in:
parent
7336cae5b4
commit
f10d4adca4
1 changed files with 4 additions and 2 deletions
|
|
@ -1,10 +1,12 @@
|
||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
|
lib,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
inherit (config.my.theme) color;
|
inherit (config.my) theme desktop;
|
||||||
|
inherit (theme) color;
|
||||||
|
|
||||||
bugfixedFirefox = pkgs.firefox-devedition-unwrapped // {
|
bugfixedFirefox = pkgs.firefox-devedition-unwrapped // {
|
||||||
requireSigning = false;
|
requireSigning = false;
|
||||||
|
|
@ -133,7 +135,7 @@ in
|
||||||
"devtools.chrome.enabled" = true;
|
"devtools.chrome.enabled" = true;
|
||||||
"devtools.debugger.remote-enabled" = true;
|
"devtools.debugger.remote-enabled" = true;
|
||||||
};
|
};
|
||||||
userChrome = ''
|
userChrome = lib.optionalString (color.type == "dark" && desktop == "sway") ''
|
||||||
#sidebar-main {
|
#sidebar-main {
|
||||||
background-color: ${color.bg};
|
background-color: ${color.bg};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue