From c6ca7c95f4096001a87c2fe51f3e17328210911c Mon Sep 17 00:00:00 2001 From: "Lennart J. Kurzweg (Nx2)" Date: Mon, 2 Dec 2024 21:04:14 +0100 Subject: [PATCH] zathura++ --- home-modules/zathura.nix | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/home-modules/zathura.nix b/home-modules/zathura.nix index 2351fe0..f7de171 100644 --- a/home-modules/zathura.nix +++ b/home-modules/zathura.nix @@ -1,18 +1,21 @@ { pkgs, rice, ... }: { - programs.zathura = { - enable = true; - options = with rice.color; { + programs.zathura = { + enable = true; + options = with rice.color; { completion-bg = background; completion-fg = foreground; - completion-highlight-bg = background; + 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-active-bg = background; + 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; @@ -28,9 +31,10 @@ selection-clipboard = "clipboard"; statusbar-bg = black.base; statusbar-fg = foreground; - - n-completion-items = 9999999999999; - exec-command = "open"; - }; - }; + + n-completion-items = 9999999999999; + exec-command = "open"; + page-padding = rice.border-width; + }; + }; }