41 lines
1.6 KiB
Nix
41 lines
1.6 KiB
Nix
{ pkgs, rice, ... }:
|
|
{
|
|
programs.zathura = {
|
|
enable = true;
|
|
options = with rice.color; {
|
|
completion-bg = background;
|
|
completion-fg = foreground;
|
|
completion-highlight-bg = background;
|
|
completion-highlight-fg = accent.base;
|
|
default-bg = "rgba(${rice.lib.hex-to-rgb-comma-string background},${builtins.toString rice.transparency})";
|
|
default-fg = foreground;
|
|
highlight-active-color = "rgba(${rice.lib.hex-to-rgb-comma-string accent.base},0.5)";
|
|
highlight-color = "rgba(${rice.lib.hex-to-rgb-comma-string secondary.base},0.5)";
|
|
highlight-fg = "rgba(${rice.lib.hex-to-rgb-comma-string secondary.base},0.5)";
|
|
index-fg = accent.bright;
|
|
index-bg = black.dark;
|
|
index-active-fg = background;
|
|
index-active-bg = foreground;
|
|
inputbar-bg = background;
|
|
inputbar-fg = foreground;
|
|
notification-bg = background;
|
|
notification-error-bg = background;
|
|
notification-error-fg = foreground;
|
|
notification-fg = foreground;
|
|
notification-warning-bg = background;
|
|
notification-warning-fg = foreground;
|
|
recolor = true;
|
|
recolor-darkcolor = foreground;
|
|
recolor-keephue = true;
|
|
recolor-lightcolor = background;
|
|
selection-clipboard = "clipboard";
|
|
statusbar-bg = black.base;
|
|
statusbar-fg = foreground;
|
|
|
|
n-completion-items = 9999999999999;
|
|
exec-command = "open";
|
|
page-padding = rice.border-width;
|
|
};
|
|
};
|
|
}
|