Fix rice and alacritty configuration

This commit is contained in:
Filippo Berto 2023-01-01 18:25:21 +01:00
parent 412d7cc283
commit bacf76a9a5
No known key found for this signature in database
GPG key ID: FE98AE5EC52B1056
2 changed files with 4 additions and 13 deletions

View file

@ -4,7 +4,6 @@ let
pkgs.lib.nix-rice.palette.toRgbHex rec { pkgs.lib.nix-rice.palette.toRgbHex rec {
inherit (colorPalette) normal bright primary; inherit (colorPalette) normal bright primary;
dim = colorPalette.dark; dim = colorPalette.dark;
cursor = { cursor = {
cursor = normal.white; cursor = normal.white;
text = normal.black; text = normal.black;

View file

@ -1,17 +1,9 @@
self: super: self: super:
let with super.lib.nix-rice;
# nord = prev.lib.nix-rice.palette.tPalette prev.lib.nix-rice.color.hexToRgba (import ./themes/nord.nix); let theme = kitty-themes.getThemeByName "Catppuccin-Mocha";
# onedark = prev.lib.nix-rice.palette.tPalette prev.lib.nix-rice.color.hexToRgba (import ./themes/onedark.nix); in {
# tomorrow-night = prev.lib.nix-rice.palette.tPalette prev.lib.nix-rice.color.hexToRgba (import ./themes/tomorrow-night.nix);
# mkpm = with prev.lib.nix-rice; palette.tPalette color.hexToRgba (import ./themes/monokai-pro-machine.nix);
# bloom = with prev.lib.nix-rice;
# palette.tPalette color.hexToRgba (import ./themes/bloom.nix);
theme = with super.lib.nix-rice;
kitty-themes.getThemeByName "Catppuccin-Mocha";
in
{
rice = { rice = {
colorPalette = with super.lib.nix-rice; rec { colorPalette = rec {
normal = palette.defaultPalette // { normal = palette.defaultPalette // {
black = theme.color0; black = theme.color0;
red = theme.color1; red = theme.color1;