From 3f5ced7b596247113c52e2abb42da73fe534a692 Mon Sep 17 00:00:00 2001 From: buffet Date: Tue, 20 Dec 2022 14:40:52 +0100 Subject: [PATCH] feat: disable italic fonts in terminal --- programs/foot.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/programs/foot.nix b/programs/foot.nix index cf762b8..4f26ce2 100644 --- a/programs/foot.nix +++ b/programs/foot.nix @@ -4,15 +4,16 @@ enable = true; server.enable = true; - settings = - let + settings = let theme = import ../theme.nix; - dehash = lib.attrsets.mapAttrs (_: v: lib.strings.removePrefix "#" v); + dehash = lib.attrsets.mapAttrs (_: lib.strings.removePrefix "#"); normal = dehash theme.normal; bright = dehash theme.bright; in { main = { font = "${theme.font.family}:size=${toString (theme.font.size - 2)}"; + font-italic = "${theme.font.family}:size=${toString (theme.font.size - 2)}"; + font-bold-italic = "${theme.font.family}:style=Bold:size=${toString (theme.font.size - 2)}"; pad = "${toString theme.font.size}x${toString theme.font.size}"; };