diff options
-rw-r--r-- | gui/zathura.nix | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gui/zathura.nix b/gui/zathura.nix index 3c4643f..491516a 100644 --- a/gui/zathura.nix +++ b/gui/zathura.nix @@ -1,11 +1,14 @@ -{ pkgs, ... }: +{ config, pkgs, ... }: -{ +let + hidpi = config.custom.hidpi; + +in { programs.zathura = { enable = true; options = { - font = "Iosevka 14px"; + font = if hidpi then "Iosevka 28px" else "Iosevka 14px"; inputbar-bg = "#161616"; inputbar-fg = "#909737"; |