parent
5efa9a24bb
commit
cd0afe0797
@ -1,8 +1,12 @@
|
||||
let
|
||||
theme = import ./everforest;
|
||||
colors = {
|
||||
undefined = "#ff00ff";
|
||||
fg1 = "#ffffff";
|
||||
};
|
||||
in
|
||||
{
|
||||
undefined = "#ff00ff";
|
||||
fg1 = "#ffffff";
|
||||
css = lib: lib.strings.concatStringsSep "\n" (lib.attrValues (lib.mapAttrs (k: v: " --${k}: ${v};") theme.colors));
|
||||
} // theme // theme.colors
|
||||
}
|
||||
// colors // theme.colors # Root colors
|
||||
// theme // { colors = theme.colors // colors; } # Dedicated color set
|
||||
|
@ -1,13 +1,18 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
let
|
||||
colors = import ../colors;
|
||||
theme = colors.theme;
|
||||
in {
|
||||
home.packages = with pkgs; [
|
||||
(pkgs.callPackage ./power.nix { })
|
||||
wmctrl # TODO: add as dependency of rofi-power
|
||||
];
|
||||
programs.rofi = {
|
||||
enable = true;
|
||||
theme = "theme";
|
||||
inherit theme;
|
||||
};
|
||||
home.file.".config/rofi/theme.rasi".text = import ./theme.nix;
|
||||
home.file.".config/rofi/${theme}.rasi".source = pkgs.substituteAll ({
|
||||
src = ./theme.rasi;
|
||||
} // colors.colors);
|
||||
}
|
||||
|
Loading…
Reference in new issue