qutebrowser: do not enable darkmode (#1184)
Closes: https://github.com/danth/stylix/issues/1183 Link: https://github.com/danth/stylix/pull/1184 Reviewed-by: awwpotato <awwpotato@voidq.com> Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
This commit is contained in:
parent
70f331c8e7
commit
6c8b77a7f5
1 changed files with 3 additions and 9 deletions
|
|
@ -246,15 +246,9 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
webpage =
|
||||
let
|
||||
isDark = config.stylix.polarity == "dark";
|
||||
in
|
||||
{
|
||||
darkmode.enabled = lib.mkIf isDark (lib.mkDefault true);
|
||||
|
||||
preferred_color_scheme = lib.mkIf isDark (lib.mkDefault config.stylix.polarity);
|
||||
};
|
||||
webpage.preferred_color_scheme = lib.mkIf (config.stylix.polarity == "dark") (
|
||||
lib.mkDefault config.stylix.polarity
|
||||
);
|
||||
};
|
||||
|
||||
fonts = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue