summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2024-04-30 21:12:36 +0530
committersinanmohd <sinan@sinanmohd.com>2024-04-30 21:12:36 +0530
commit2489ed494af18c22d7cd100f4fbbe7ca9a659f6e (patch)
treed469fe087112ea20b12175d66358546add9b1fbb
parent178d2590b9cc929c6a0b9a87993a4aeeba640874 (diff)
home-manager/cez/mako: set font size
-rw-r--r--home-manager/cez/home.nix6
-rw-r--r--home-manager/wayland/modules/foot.nix4
2 files changed, 7 insertions, 3 deletions
diff --git a/home-manager/cez/home.nix b/home-manager/cez/home.nix
index a756be7..a11c07d 100644
--- a/home-manager/cez/home.nix
+++ b/home-manager/cez/home.nix
@@ -1,8 +1,12 @@
{ ... }: let
font = "Sans 13";
+ monoFont = "monospace:size=18";
in {
imports = [ ../wayland/home.nix ];
services.mako.font = font;
- programs.zathura.options.font = font;
+ programs = {
+ zathura.options.font = font;
+ foot.settings.main.font = monoFont;
+ };
}
diff --git a/home-manager/wayland/modules/foot.nix b/home-manager/wayland/modules/foot.nix
index 7adaf40..bf1ddc4 100644
--- a/home-manager/wayland/modules/foot.nix
+++ b/home-manager/wayland/modules/foot.nix
@@ -1,4 +1,4 @@
-{ ... }: {
+{ lib, ... }: {
programs.foot = {
enable = true;
@@ -6,7 +6,7 @@
colors.background = "000000";
main = {
pad = "10x10";
- font = "monospace:size=18";
+ font = lib.mkDefault "monospace:size=18";
};
};
};