From 178d2590b9cc929c6a0b9a87993a4aeeba640874 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Tue, 30 Apr 2024 18:03:04 +0530 Subject: home-manager/cez/zathura: set font size --- home-manager/cez/home.nix | 7 +++++-- home-manager/wayland/modules/zathura.nix | 8 ++++---- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/home-manager/cez/home.nix b/home-manager/cez/home.nix index d491cf2..a756be7 100644 --- a/home-manager/cez/home.nix +++ b/home-manager/cez/home.nix @@ -1,5 +1,8 @@ -{ ... }: { +{ ... }: let + font = "Sans 13"; +in { imports = [ ../wayland/home.nix ]; - services.mako.font = "Sans 13"; + services.mako.font = font; + programs.zathura.options.font = font; } diff --git a/home-manager/wayland/modules/zathura.nix b/home-manager/wayland/modules/zathura.nix index f7b7e4d..6751f32 100644 --- a/home-manager/wayland/modules/zathura.nix +++ b/home-manager/wayland/modules/zathura.nix @@ -1,4 +1,4 @@ -{ ... }: { +{ lib, ... }: { programs.zathura = { enable = true; @@ -7,9 +7,9 @@ "[fullscreen] f" = "toggle_fullscreen"; }; options = { - "font" = "Sans"; - "statusbar-basename" = true; - "selection-clipboard" = "clipboard"; + font = lib.mkDefault "Sans"; + statusbar-basename = true; + selection-clipboard = "clipboard"; }; }; } -- cgit v1.2.3