Get wallpaper path in theme

inky
Elnu 2 years ago
parent d5797493c0
commit 180a87464c

@ -15,7 +15,7 @@ in
enable = true; enable = true;
theme = theme.gtkTheme pkgs; theme = theme.gtkTheme pkgs;
}; };
background = ../modules/wallpapers/${theme.wallpaper}; background = theme.wallpaper;
}; };
defaultSession = "none+i3"; defaultSession = "none+i3";
}; };

@ -19,7 +19,7 @@ in
../modules/terminal ../modules/terminal
]; ];
home.file."./.background-image".source = ../modules/wallpapers/${theme.wallpaper}; home.file."./.background-image".source = theme.wallpaper;
programs.home-manager.enable = true; 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)); css = lib: lib.strings.concatStringsSep "\n" (lib.attrValues (lib.mapAttrs (k: v: " --${k}: ${v};") theme.colors));
} }
// theme // { colors = theme.colors // colors; } // theme // { colors = theme.colors // colors; }
// { wallpaper = ../wallpapers/${theme.wallpaper}; }

Loading…
Cancel
Save