change xresources font to jetbrains mono nf

This commit is contained in:
Patrick Neff 2024-09-26 14:15:11 +02:00
parent e6b5e6dc7a
commit 69661cf459
3 changed files with 6 additions and 4 deletions

View File

@ -6,5 +6,6 @@ with lib; {
]; ];
options = { options = {
desktop.xserver.enable = mkEnableOption "xserver"; desktop.xserver.enable = mkEnableOption "xserver";
desktop.xresources.enable = mkEnableOption "xresources";
}; };
} }

View File

@ -3,7 +3,7 @@
lib, lib,
... ...
}: let }: let
cfg = config.desktop.xserver; cfg = config.desktop.xresources;
in in
with lib; with lib;
mkIf cfg.enable { mkIf cfg.enable {
@ -32,8 +32,8 @@ in
"URxvt.saveline" = "10480"; "URxvt.saveline" = "10480";
"URxvt.scrollBar" = "false"; "URxvt.scrollBar" = "false";
"URxvt.urgentOnBell" = "true"; "URxvt.urgentOnBell" = "true";
"URxvt.font" = "xft:FiraCode Nerd Font Mono:size=9"; "URxvt.font" = "xft:JetBrains Mono Nerd Font:size=11";
"URxvt.fontBold" = "xft:FiraCode Nerd Font Mono:bold:size=9"; "URxvt.fontBold" = "xft:JetBrains Mono Nerd Font:bold:size=11";
"URxvt.depth" = "32"; "URxvt.depth" = "32";
"URxvt.background" = "[95]#1E1E2E"; "URxvt.background" = "[95]#1E1E2E";
"Xft.autohint" = "0"; "Xft.autohint" = "0";
@ -42,6 +42,6 @@ in
"Xft.hinting" = "1"; "Xft.hinting" = "1";
"Xft.antialias" = "1"; "Xft.antialias" = "1";
"Xft.rgba" = "rgb"; "Xft.rgba" = "rgb";
"XTerm*faceName" = "FiraCode Nerd Font Mono:bold:size=9"; "XTerm*faceName" = "JetBrains Mono Nerd Font:bold:size=11";
}; };
} }

View File

@ -20,6 +20,7 @@
}; };
network-manager.enable = false; network-manager.enable = false;
xserver.enable = false; xserver.enable = false;
xresources.enable = true;
pcmanfm.enable = false; pcmanfm.enable = false;
thunar.enable = false; thunar.enable = false;
}; };