treewide: bring regreet theme config to theme module

This commit is contained in:
Anthony Rodriguez 2024-12-10 08:36:15 +01:00
parent 7d6515ed93
commit 3017dfc76c
Signed by: nezia
GPG key ID: EE3BE97C040A86CE
2 changed files with 12 additions and 9 deletions

View file

@ -59,6 +59,18 @@ in {
}) })
]; ];
programs.regreet = {
theme = {
inherit (cfg.theme) name package;
};
iconTheme = {
inherit (cfg.iconTheme) name package;
};
cursorTheme = {
inherit (config.theme.cursorTheme) name package;
};
};
home-manager.users.nezia = mkIf config.theme.enable (let home-manager.users.nezia = mkIf config.theme.enable (let
scheme = inputs.basix.schemeData.base16.${config.theme.schemeName}; scheme = inputs.basix.schemeData.base16.${config.theme.schemeName};
in { in {

View file

@ -63,15 +63,6 @@ in {
}; };
programs.regreet = { programs.regreet = {
enable = true; enable = true;
theme = {
inherit (config.theme.gtk.theme) name package;
};
iconTheme = {
inherit (config.theme.gtk.iconTheme) name package;
};
cursorTheme = {
inherit (config.theme.cursorTheme) name package;
};
settings = { settings = {
background = { background = {
path = blurImage pkgs config.theme.wallpaper; path = blurImage pkgs config.theme.wallpaper;