Rename colors to theme, clean up color usage

This commit is contained in:
Elnu 2023-01-25 19:05:59 -08:00
parent 5d9fc8f4f3
commit a548fbba06
12 changed files with 60 additions and 60 deletions

View file

@ -1,8 +1,8 @@
{ pkgs, ... }:
let
colors = import ../colors;
theme = colors.theme;
_theme = import ../theme;
theme = _theme.theme; # Theme name
in {
home.packages = with pkgs; [
(pkgs.callPackage ./power.nix { })
@ -14,5 +14,5 @@ in {
};
home.file.".config/rofi/${theme}.rasi".source = pkgs.substituteAll ({
src = ./theme.rasi;
} // colors.colors);
} // _theme.colors);
}