From 544e40d9e52d5956e07a53898b341d80c528dd07 Mon Sep 17 00:00:00 2001 From: Filippo Berto Date: Mon, 2 Jan 2023 12:03:46 +0100 Subject: [PATCH] Better zathura theme integration --- hm_modules/zathura.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/hm_modules/zathura.nix b/hm_modules/zathura.nix index 9c61374..63a433d 100644 --- a/hm_modules/zathura.nix +++ b/hm_modules/zathura.nix @@ -4,15 +4,19 @@ let strPalette = palette.toRgbHex pkgs.rice.colorPalette; in { programs.zathura = { enable = true; + mappings = { + "" = "recolor"; + }; options = { completion-bg = strPalette.bright.black; - default-bg = strPalette.normal.black; + # default-bg = strPalette.normal.black; font = "${pkgs.rice.font.normal.name} 10"; inputbar-bg = strPalette.bright.black; inputbar-fg = strPalette.normal.cyan; page-padding = 10; - recolor-lightcolor = strPalette.normal.black; - recolor-darkcolor = strPalette.dark.white; + # recolor = true; + recolor-lightcolor = strPalette.primary.background; + recolor-darkcolor = strPalette.primary.foreground; statusbar-bg = strPalette.bright.black; selection-clipboard = "clipboard"; };