From 2489ed494af18c22d7cd100f4fbbe7ca9a659f6e Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Tue, 30 Apr 2024 21:12:36 +0530 Subject: home-manager/cez/mako: set font size --- home-manager/cez/home.nix | 6 +++++- home-manager/wayland/modules/foot.nix | 4 ++-- 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"; }; }; }; -- cgit v1.2.3