finally, nix-rice
This commit is contained in:
parent
70b8efe0cb
commit
8c093b6658
6 changed files with 203 additions and 218 deletions
105
rice.nix
105
rice.nix
|
@ -1,81 +1,90 @@
|
|||
self: super: let
|
||||
theme = super.lib.nix-rice.kitty-themes.getThemeByName "rose-pine";
|
||||
final: prev:
|
||||
with prev.lib.nix-rice; let
|
||||
theme = kitty-themes.getThemeByName "rose-pine";
|
||||
in rec {
|
||||
rice = {
|
||||
palette = with super.lib.nix-rice; rec {
|
||||
normal = palette.defaultPalette // {
|
||||
black = theme.color0;
|
||||
red = theme.color1;
|
||||
green = theme.color2;
|
||||
yellow = theme.color3;
|
||||
blue = theme.color4;
|
||||
magenta = theme.color5;
|
||||
cyan = theme.color6;
|
||||
white = theme.color7;
|
||||
};
|
||||
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 // {
|
||||
fg = theme.foreground;
|
||||
bg = theme.background;
|
||||
fg_sel = theme.selection_foreground;
|
||||
bg_sel = theme.selection_background;
|
||||
cursor = theme.cursor;
|
||||
cursor_text = theme.cursor_text_color;
|
||||
url = theme.url_color;
|
||||
};
|
||||
} // theme;
|
||||
palette =
|
||||
rec {
|
||||
bright =
|
||||
palette.defaultPalette
|
||||
// {
|
||||
black = theme.color0;
|
||||
red = theme.color1;
|
||||
green = theme.color2;
|
||||
yellow = theme.color3;
|
||||
blue = theme.color4;
|
||||
magenta = theme.color5;
|
||||
cyan = theme.color6;
|
||||
white = theme.color7;
|
||||
};
|
||||
normal =
|
||||
palette.darken 15 bright;
|
||||
util =
|
||||
palette.defaultPalette
|
||||
// {
|
||||
fg = theme.foreground;
|
||||
bg = theme.background;
|
||||
fg_sel = theme.selection_foreground;
|
||||
bg_sel = theme.selection_background;
|
||||
cursor = theme.cursor;
|
||||
cursor_text = theme.cursor_text_color;
|
||||
url = theme.url_color;
|
||||
};
|
||||
}
|
||||
// theme;
|
||||
|
||||
fonts = {
|
||||
fonts = rec {
|
||||
sans = {
|
||||
name = "Inria Sans";
|
||||
size = 14;
|
||||
package = self.inriafonts;
|
||||
size = 12;
|
||||
package = final.inriafonts;
|
||||
};
|
||||
serif = {
|
||||
name = "Inria Serif";
|
||||
size = 14;
|
||||
package = self.inriafonts;
|
||||
size = 12;
|
||||
package = final.inriafonts;
|
||||
};
|
||||
monospace = {
|
||||
name = "Fira Code";
|
||||
size = 10;
|
||||
package = self.fira-code;
|
||||
package = final.fira-code;
|
||||
};
|
||||
emoji = {
|
||||
name = "Twitter Color Emoji";
|
||||
size = 14;
|
||||
package = self.twemoji-color-font;
|
||||
size = 12;
|
||||
package = final.twemoji-color-font;
|
||||
};
|
||||
pkgs = with final; [
|
||||
sans.package
|
||||
serif.package
|
||||
monospace.package
|
||||
emoji.package
|
||||
meslo-lgs-nf
|
||||
material-icons
|
||||
material-design-icons
|
||||
];
|
||||
};
|
||||
|
||||
icons = {
|
||||
name = "RosePine-Main";
|
||||
package = self.rose-pine-icons;
|
||||
name = "Rose-Pine";
|
||||
package = final.rose-pine-icons;
|
||||
};
|
||||
|
||||
gtk = {
|
||||
package = self.rose-pine-theme;
|
||||
gtk-theme = {
|
||||
name = "RosePine-Main";
|
||||
package = final.rose-pine-theme;
|
||||
};
|
||||
|
||||
|
||||
borders = {
|
||||
thickness = 4;
|
||||
rounding = 10;
|
||||
};
|
||||
|
||||
bg = {
|
||||
image = super.fetchurl {
|
||||
sha256 = "sha256-VenNP2aJ55hU8AfqZ4KHzTkiq+9GveHqL69vgSmRPlE=";
|
||||
url = "https://github.com/rose-pine/wallpapers/blob/main/blockwavemoon.png?raw=true";
|
||||
image = prev.fetchurl {
|
||||
url = "https://github.com/the-argus/wallpapers/blob/main/rose/minimal_squares_rosepine.png?raw=true";
|
||||
sha256 = "sha256-mZNgRDyEB5EzGucguv3vWTFaRBOEVS94bJjv7XVNW+Y=";
|
||||
};
|
||||
};
|
||||
}; # /rice
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue