2024-06-30 03:56:48 +03:00
|
|
|
{ pkgs, config, __findFile, ... }: {
|
2024-06-29 23:34:34 +03:00
|
|
|
stylix = {
|
2024-06-26 09:51:41 +03:00
|
|
|
enable = true;
|
2024-06-30 03:56:48 +03:00
|
|
|
image = config.module.wallpaper.path;
|
2024-06-30 03:04:33 +03:00
|
|
|
autoEnable = true;
|
2024-06-26 09:51:41 +03:00
|
|
|
polarity = "dark";
|
2024-07-01 16:19:58 +03:00
|
|
|
fonts = {
|
|
|
|
inherit (config.style.font) serif sansSerif monospace emoji;
|
2024-04-03 00:23:03 +03:00
|
|
|
sizes = {
|
2024-07-01 16:19:58 +03:00
|
|
|
inherit (config.style.font.size) terminal desktop;
|
|
|
|
applications = config.style.font.size.application;
|
2024-08-02 23:45:19 +03:00
|
|
|
popups = config.style.font.size.popup;
|
2024-04-03 00:23:03 +03:00
|
|
|
};
|
|
|
|
};
|
2024-07-01 16:19:58 +03:00
|
|
|
opacity = {
|
|
|
|
inherit (config.style.opacity) desktop terminal;
|
|
|
|
applications = config.style.opacity.application;
|
|
|
|
popups = config.style.opacity.popups;
|
|
|
|
};
|
|
|
|
inherit (config.style) cursor;
|
2024-06-30 03:56:48 +03:00
|
|
|
override = if config.module.wallpaper.forceContrastText then {
|
2024-06-23 01:02:11 +03:00
|
|
|
base04 = "000000";
|
2024-05-07 16:12:07 +03:00
|
|
|
base05 = "ffffff";
|
|
|
|
base06 = "ffffff";
|
|
|
|
} else {};
|
2024-04-03 00:23:03 +03:00
|
|
|
};
|
|
|
|
}
|