treewide: bring regreet theme config to theme module
This commit is contained in:
parent
7d6515ed93
commit
3017dfc76c
2 changed files with 12 additions and 9 deletions
|
@ -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 {
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue