linted
This commit is contained in:
atagen 2025-02-02 16:57:31 +11:00
parent 4e99a0e323
commit 7485de646a
95 changed files with 2743 additions and 2282 deletions

View file

@ -1,43 +1,43 @@
final: prev: let
final: prev:
let
inherit (prev.lib.nix-rice) kitty-themes;
inherit (prev.lib.nix-rice.palette) toRGBShortHex toRgbHex;
inherit (prev.lib.nix-rice.palette) toRGBShortHex;
# theme = kitty-themes.parseTheme ./op.pal;
theme = kitty-themes.parseTheme ./pal.conf;
# theme = kitty-themes.getThemeByName "everforest_dark_hard";
in {
in
# theme = kitty-themes.getThemeByName "everforest_dark_hard";
{
rice = rec {
palette =
{
normal = {
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 = {
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 = {
fg = theme.foreground;
bg = theme.background;
fg_sel = theme.selection_foreground;
bg_sel = theme.selection_background;
cursor = theme.cursor;
# url = theme.url_color;
};
}
// theme;
palette = {
normal = {
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 = {
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 = {
fg = theme.foreground;
bg = theme.background;
fg_sel = theme.selection_foreground;
bg_sel = theme.selection_background;
inherit (theme) cursor;
# url = theme.url_color;
};
} // theme;
fonts = rec {
sans = {
@ -81,7 +81,7 @@ in {
gtk-theme = {
name = "nix-rice";
package = prev.callPackage ./gtk-theme.nix {} {palette = toRGBShortHex final.rice.palette;};
package = prev.callPackage ./gtk-theme.nix { } { palette = toRGBShortHex final.rice.palette; };
};
borders = {
@ -92,7 +92,7 @@ in {
};
bg = {
image = prev.callPackage ./wallpaper.nix {} {
image = prev.callPackage ./wallpaper.nix { } {
palette = toRGBShortHex final.rice.palette;
wallpaper = builtins.path rec {
name = "wallpaper.jpg";
@ -104,8 +104,8 @@ in {
cursor = {
package = prev.afterglow-cursors-recolored.override {
themeVariants = ["Dracula"];
draculaColorVariants = ["Orange"];
themeVariants = [ "Dracula" ];
draculaColorVariants = [ "Orange" ];
};
name = "Afterglow-Recolored-Dracula-Orange";
};
@ -115,7 +115,7 @@ in {
font = "${fonts.sans.package}/share/fonts/truetype/InriaSans-Regular.ttf";
theme = "colorful_loop";
themePackages = [
(prev.pkgs.adi1090x-plymouth-themes.override {selected_themes = ["colorful_loop"];})
(prev.pkgs.adi1090x-plymouth-themes.override { selected_themes = [ "colorful_loop" ]; })
];
};
}; # /rice