diff options
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"; }; }; }; |