zathura++

This commit is contained in:
Lennart J. Kurzweg (Nx2)
2024-12-02 21:04:14 +01:00
parent e878158b71
commit c6ca7c95f4

View File

@@ -1,18 +1,21 @@
{ pkgs, rice, ... }: { pkgs, rice, ... }:
{ {
programs.zathura = { programs.zathura = {
enable = true; enable = true;
options = with rice.color; { options = with rice.color; {
completion-bg = background; completion-bg = background;
completion-fg = foreground; completion-fg = foreground;
completion-highlight-bg = background; completion-highlight-bg = background;
completion-highlight-fg = accent.base; completion-highlight-fg = accent.base;
default-bg = "rgba(${rice.lib.hex-to-rgb-comma-string background},${builtins.toString rice.transparency})"; default-bg = "rgba(${rice.lib.hex-to-rgb-comma-string background},${builtins.toString rice.transparency})";
default-fg = foreground; default-fg = foreground;
highlight-active-color = "rgba(${rice.lib.hex-to-rgb-comma-string accent.base},0.5)"; 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-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)"; highlight-fg = "rgba(${rice.lib.hex-to-rgb-comma-string secondary.base},0.5)";
index-active-bg = background; index-fg = accent.bright;
index-bg = black.dark;
index-active-fg = background;
index-active-bg = foreground;
inputbar-bg = background; inputbar-bg = background;
inputbar-fg = foreground; inputbar-fg = foreground;
notification-bg = background; notification-bg = background;
@@ -28,9 +31,10 @@
selection-clipboard = "clipboard"; selection-clipboard = "clipboard";
statusbar-bg = black.base; statusbar-bg = black.base;
statusbar-fg = foreground; statusbar-fg = foreground;
n-completion-items = 9999999999999; n-completion-items = 9999999999999;
exec-command = "open"; exec-command = "open";
}; page-padding = rice.border-width;
}; };
};
} }