nix-rice, slightly scuffed

This commit is contained in:
atagen 2023-05-21 01:34:21 +10:00
parent aae14e214e
commit 60a15031a9
9 changed files with 275 additions and 116 deletions

86
rice.nix Normal file
View file

@ -0,0 +1,86 @@
self: super: let
theme = super.lib.nix-rice.kitty-themes.getThemeByName "GruvboxMaterialDarkMedium";
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;
fonts = {
sans = {
name = "Inria Sans";
size = 12;
package = self.inriafonts;
};
serif = {
name = "Inria Serif";
size = 12;
package = self.inriafonts;
};
monospace = {
name = "Fira Code";
size = 10;
package = self.fira-code;
};
emoji = {
name = "Twitter Color Emoji";
size = 12;
package = self.twemoji-color-font;
};
};
icons = {
name = "Papirus-Dark";
package = self.papirus-icon-theme;
};
gtk = {
package = self.gruvbox-gtk-theme;
name = "Gruvbox-Dark";
};
kvantum = {
package = self.gruvbox-kvantum;
};
borders = {
thickness = 3;
rounding = 8;
};
bg = {
image = super.fetchurl {
sha256 = "sha256-6BCoxgqK5pCxv5P7Rf5MoyLbHAShRd3YuacAcZ916C8=";
url = "https://gruvbox-wallpapers.pages.dev/wallpapers/irl/flowers-2.jpg";
};
};
}; # /rice
}