auto gtk theme, unique palette
This commit is contained in:
parent
2c2987e35f
commit
26fd86bc0a
5 changed files with 172 additions and 39 deletions
48
rice.nix
48
rice.nix
|
@ -1,12 +1,9 @@
|
|||
final: prev:
|
||||
with prev.lib.nix-rice; let
|
||||
# theme = kitty-themes.parseTheme (
|
||||
# builtins.fetchurl {
|
||||
# url = "https://github.com/rebelot/kanagawa.nvim/blob/master/extras/kanagawa.conf?raw=true";
|
||||
# sha256 = "1r95lkq24a2ygrjv1mkqfrksgfvnyc16xrsldw04phnsa555x51l";
|
||||
# }
|
||||
# );
|
||||
theme = kitty-themes.getThemeByName "everforest_dark_hard";
|
||||
theme = kitty-themes.parseTheme (
|
||||
./pal.conf
|
||||
);
|
||||
# theme = kitty-themes.getThemeByName "everforest_dark_hard";
|
||||
in rec {
|
||||
rice = {
|
||||
palette =
|
||||
|
@ -24,23 +21,17 @@ in rec {
|
|||
white = theme.color7;
|
||||
};
|
||||
bright =
|
||||
palette.brighten 15 normal
|
||||
palette.defaultPalette
|
||||
// {
|
||||
black = theme.color8;
|
||||
red = theme.color9;
|
||||
green = theme.color10;
|
||||
yellow = theme.color11;
|
||||
blue = theme.color12;
|
||||
magenta = theme.color13;
|
||||
cyan = theme.color14;
|
||||
white = theme.color15;
|
||||
};
|
||||
# bright =
|
||||
# palette.defaultPalette
|
||||
# // {
|
||||
# black = theme.color8;
|
||||
# red = theme.color9;
|
||||
# green = theme.color10;
|
||||
# yellow = theme.color11;
|
||||
# blue = theme.color12;
|
||||
# magenta = theme.color13;
|
||||
# cyan = theme.color14;
|
||||
# white = theme.color15;
|
||||
# };
|
||||
util =
|
||||
palette.defaultPalette
|
||||
// {
|
||||
|
@ -49,7 +40,7 @@ in rec {
|
|||
fg_sel = theme.selection_foreground;
|
||||
bg_sel = theme.selection_background;
|
||||
cursor = theme.cursor;
|
||||
url = theme.url_color;
|
||||
# url = theme.url_color;
|
||||
};
|
||||
}
|
||||
// theme;
|
||||
|
@ -95,8 +86,10 @@ in rec {
|
|||
};
|
||||
|
||||
gtk-theme = {
|
||||
name = "Everforest-Dark";
|
||||
package = final.everforest-theme;
|
||||
name = "nix-rice";
|
||||
package = (prev.callPackage ./gtk-theme.nix {} { palette = palette.toRGBShortHex final.rice.palette; });
|
||||
# name = "Everforest-Dark";
|
||||
# package = final.everforest-theme;
|
||||
};
|
||||
|
||||
|
||||
|
@ -108,10 +101,11 @@ in rec {
|
|||
};
|
||||
|
||||
bg = {
|
||||
image = prev.fetchurl {
|
||||
url = "https://github.com/Apeiros-46B/everforest-walls/blob/main/close_up/circuit_1.png?raw=true";
|
||||
sha256 = "sha256-5V9XlJtC8n3zZueg5y/pWW1Oz75YPcEydLU/E/+z+2k=";
|
||||
};
|
||||
image = /home/bolt/Code/lutgen-rs/lutgen/wallhaven-rrokpj_custom.png;
|
||||
# image = prev.fetchurl {
|
||||
# url = "https://github.com/Apeiros-46B/everforest-walls/blob/main/close_up/circuit_1.png?raw=true";
|
||||
# sha256 = "sha256-5V9XlJtC8n3zZueg5y/pWW1Oz75YPcEydLU/E/+z+2k=";
|
||||
# };
|
||||
};
|
||||
}; # /rice
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue