From 6452d3840b78d619018aa305e718ebd2a642caf4 Mon Sep 17 00:00:00 2001 From: Akshay Date: Fri, 6 Oct 2023 19:27:30 +0530 Subject: unify fonts --- x/rxvt.nix | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'x') diff --git a/x/rxvt.nix b/x/rxvt.nix index a7970a6..b5401ab 100644 --- a/x/rxvt.nix +++ b/x/rxvt.nix @@ -1,6 +1,7 @@ { config , pkgs , theme +, font , ... }: @@ -30,12 +31,12 @@ with theme; "*color15" = base07; "*.cursorBlink" = "on"; - "URxvt.font" = "xft:Nerd Input:size=11:style=Medium"; - "URxvt.italicFont" = "xft:Nerd Input:size=11:style=Medium"; - "URxvt.boldFont" = "xft:Nerd Input:size=11:style=Medium"; - "*font" = "Fira Code:size=11:style=Regular"; - "*italicFont" = "Fira Code:size=11:style=Italic"; - "*boldFont" = "Fira Code:size=11:style=Bold"; + "URxvt.font" = "xft:${font.name}:size=11:style=Medium"; + "URxvt.italicFont" = "xft:${font.name}:size=11:style=Medium"; + "URxvt.boldFont" = "xft:${font.name}:size=11:style=Medium"; + "*font" = "${font.name}:size=11:style=Regular"; + "*italicFont" = "${font.name}:size=11:style=Italic"; + "*boldFont" = "${font.name}:size=11:style=Bold"; "URxvt.lineSpace" = 0; "URxvt.letterSpace" = 0; -- cgit v1.2.3