Switch to module-based rice

This commit is contained in:
Filippo Berto 2024-10-22 18:49:26 +02:00
parent a8ee39aaa3
commit 61329e5f96
No known key found for this signature in database
GPG key ID: FE98AE5EC52B1056
19 changed files with 505 additions and 547 deletions

View file

@ -1,6 +1,8 @@
{ pkgs, ... }:
{ nixosConfig, ... }:
with nixosConfig.nix-rice.lib;
let
strPalette = pkgs.lib.nix-rice.palette.toRgbHex pkgs.rice.colorPalette;
inherit (nixosConfig.nix-rice) rice;
strPalette = palette.toRgbHex rice.colorPalette;
in
{
programs.zathura = {
@ -11,7 +13,7 @@ in
options = {
# completion-bg = strPalette.bright.black;
# default-bg = strPalette.normal.black;
font = "${pkgs.rice.font.normal.name} 10";
font = "${rice.font.normal.name} 10";
# inputbar-bg = strPalette.bright.black;
# inputbar-fg = strPalette.normal.cyan;
page-padding = 10;
@ -59,6 +61,5 @@ in
# recolor = true;
recolor-keephue = true; # keep original color
};
};
}