Get wallpaper path in theme
This commit is contained in:
parent
d5797493c0
commit
180a87464c
3 changed files with 3 additions and 2 deletions
|
@ -15,7 +15,7 @@ in
|
|||
enable = true;
|
||||
theme = theme.gtkTheme pkgs;
|
||||
};
|
||||
background = ../modules/wallpapers/${theme.wallpaper};
|
||||
background = theme.wallpaper;
|
||||
};
|
||||
defaultSession = "none+i3";
|
||||
};
|
||||
|
|
|
@ -19,7 +19,7 @@ in
|
|||
../modules/terminal
|
||||
];
|
||||
|
||||
home.file."./.background-image".source = ../modules/wallpapers/${theme.wallpaper};
|
||||
home.file."./.background-image".source = theme.wallpaper;
|
||||
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
|
|
|
@ -9,3 +9,4 @@ in
|
|||
css = lib: lib.strings.concatStringsSep "\n" (lib.attrValues (lib.mapAttrs (k: v: " --${k}: ${v};") theme.colors));
|
||||
}
|
||||
// theme // { colors = theme.colors // colors; }
|
||||
// { wallpaper = ../wallpapers/${theme.wallpaper}; }
|
||||
|
|
Loading…
Add table
Reference in a new issue