summaryrefslogtreecommitdiff
path: root/home-manager
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2024-04-30 18:03:04 +0530
committersinanmohd <sinan@sinanmohd.com>2024-04-30 18:03:09 +0530
commit178d2590b9cc929c6a0b9a87993a4aeeba640874 (patch)
tree7cd0f0d3cac597279b15661717b6301de09c0f42 /home-manager
parent50d68d99878580424d09f7876e5b6a379a0573a6 (diff)
home-manager/cez/zathura: set font size
Diffstat (limited to 'home-manager')
-rw-r--r--home-manager/cez/home.nix7
-rw-r--r--home-manager/wayland/modules/zathura.nix8
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";
};
};
}