f
This commit is contained in:
parent
8f00269caf
commit
1d87a291ca
|
@ -30,7 +30,13 @@ in
|
|||
};
|
||||
style = lib.mkOption {
|
||||
default = style;
|
||||
type = with lib.types; nullOr (oneOf [ path lines attrs ]);
|
||||
type =
|
||||
with lib.types;
|
||||
nullOr (oneOf [
|
||||
path
|
||||
lines
|
||||
attrs
|
||||
]);
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -4,33 +4,31 @@ let
|
|||
wallpaper = config.module.wallpaper;
|
||||
in
|
||||
{
|
||||
config = lib.mkMerge [
|
||||
stylix = lib.mkMerge [
|
||||
{
|
||||
stylix = {
|
||||
inherit (config.module.style) cursor;
|
||||
enable = true;
|
||||
autoEnable = true;
|
||||
image = wallpaper.path;
|
||||
polarity = "dark";
|
||||
fonts = with style.font; {
|
||||
inherit
|
||||
emoji
|
||||
monospace
|
||||
sansSerif
|
||||
serif
|
||||
;
|
||||
sizes = with size; {
|
||||
inherit desktop terminal;
|
||||
applications = application;
|
||||
popups = popup;
|
||||
};
|
||||
};
|
||||
opacity = with style.opacity; {
|
||||
inherit (config.module.style) cursor;
|
||||
enable = true;
|
||||
autoEnable = true;
|
||||
image = wallpaper.path;
|
||||
polarity = "dark";
|
||||
fonts = with style.font; {
|
||||
inherit
|
||||
emoji
|
||||
monospace
|
||||
sansSerif
|
||||
serif
|
||||
;
|
||||
sizes = with size; {
|
||||
inherit desktop terminal;
|
||||
applications = application;
|
||||
popups = popups;
|
||||
popups = popup;
|
||||
};
|
||||
};
|
||||
opacity = with style.opacity; {
|
||||
inherit desktop terminal;
|
||||
applications = application;
|
||||
popups = popups;
|
||||
};
|
||||
}
|
||||
|
||||
(lib.mkIf wallpaper.forceContrastText {
|
||||
|
|
Loading…
Reference in a new issue