diff options
author | sinanmohd <sinan@sinanmohd.com> | 2024-06-03 20:50:58 +0530 |
---|---|---|
committer | sinanmohd <sinan@sinanmohd.com> | 2024-06-03 21:25:00 +0530 |
commit | d4f7650cd0735d1fe9173530cc31c24b65ed44ff (patch) | |
tree | 82086000936fed44120734ce2308207478d73954 /home/wayland/modules/foot.nix | |
parent | 279ff6251173e161cc50d8ae03cb3cd2e90a61a4 (diff) |
global/font: init
Diffstat (limited to 'home/wayland/modules/foot.nix')
-rw-r--r-- | home/wayland/modules/foot.nix | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/home/wayland/modules/foot.nix b/home/wayland/modules/foot.nix index b068b87..77299aa 100644 --- a/home/wayland/modules/foot.nix +++ b/home/wayland/modules/foot.nix @@ -1,12 +1,17 @@ -{ lib, ... }: { +{ config, lib, ... }: let + font = config.global.font.monospace.name + + ":size=" + + lib.optionalString (config.global.font.monospace.size != null) + (builtins.toString config.global.font.monospace.size); +in { programs.foot = { enable = true; settings = { colors.background = "000000"; main = { + inherit font; pad = "10x10"; - font = lib.mkDefault "monospace"; }; }; }; |