kanagawa moment
This commit is contained in:
parent
8c093b6658
commit
707157c0fe
6 changed files with 106 additions and 36 deletions
46
rice.nix
46
rice.nix
|
@ -1,11 +1,16 @@
|
|||
final: prev:
|
||||
with prev.lib.nix-rice; let
|
||||
theme = kitty-themes.getThemeByName "rose-pine";
|
||||
theme = kitty-themes.parseTheme (
|
||||
builtins.fetchurl {
|
||||
url = "https://github.com/rebelot/kanagawa.nvim/blob/master/extras/kanagawa.conf?raw=true";
|
||||
sha256 = "1r95lkq24a2ygrjv1mkqfrksgfvnyc16xrsldw04phnsa555x51l";
|
||||
}
|
||||
);
|
||||
in rec {
|
||||
rice = {
|
||||
palette =
|
||||
rec {
|
||||
bright =
|
||||
normal =
|
||||
palette.defaultPalette
|
||||
// {
|
||||
black = theme.color0;
|
||||
|
@ -17,8 +22,18 @@ in rec {
|
|||
cyan = theme.color6;
|
||||
white = theme.color7;
|
||||
};
|
||||
normal =
|
||||
palette.darken 15 bright;
|
||||
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
|
||||
// {
|
||||
|
@ -27,7 +42,6 @@ in rec {
|
|||
fg_sel = theme.selection_foreground;
|
||||
bg_sel = theme.selection_background;
|
||||
cursor = theme.cursor;
|
||||
cursor_text = theme.cursor_text_color;
|
||||
url = theme.url_color;
|
||||
};
|
||||
}
|
||||
|
@ -60,19 +74,23 @@ in rec {
|
|||
monospace.package
|
||||
emoji.package
|
||||
meslo-lgs-nf
|
||||
];
|
||||
};
|
||||
|
||||
icons = rec {
|
||||
name = "Kanagawa";
|
||||
package = final.kanagawa-icons;
|
||||
pkgs = with final; [
|
||||
package
|
||||
papirus-icon-theme
|
||||
material-icons
|
||||
material-design-icons
|
||||
];
|
||||
};
|
||||
|
||||
icons = {
|
||||
name = "Rose-Pine";
|
||||
package = final.rose-pine-icons;
|
||||
};
|
||||
|
||||
gtk-theme = {
|
||||
name = "RosePine-Main";
|
||||
package = final.rose-pine-theme;
|
||||
name = "Kanagawa";
|
||||
package = final.kanagawa-theme;
|
||||
};
|
||||
|
||||
|
||||
|
@ -83,8 +101,8 @@ in rec {
|
|||
|
||||
bg = {
|
||||
image = prev.fetchurl {
|
||||
url = "https://github.com/the-argus/wallpapers/blob/main/rose/minimal_squares_rosepine.png?raw=true";
|
||||
sha256 = "sha256-mZNgRDyEB5EzGucguv3vWTFaRBOEVS94bJjv7XVNW+Y=";
|
||||
url = "https://upload.wikimedia.org/wikipedia/commons/0/0a/The_Great_Wave_off_Kanagawa.jpg";
|
||||
sha256 = "sha256-RKhIar3wMwo/5rWG5AdQbnOP4HX+C138Q5YeNY/acgY=";
|
||||
};
|
||||
};
|
||||
}; # /rice
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue