change mono font from fira code to maple mono

This commit is contained in:
ulic-youthlic 2025-03-07 02:17:15 +08:00
parent 63a04604d1
commit a5e890ada2
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
5 changed files with 32 additions and 18 deletions

View file

@ -8,7 +8,7 @@ term=foot
# title=foot
# locked-title=no
font=FiraCode Nerd Font:size=15:lang=en-US
# font=FiraCode Nerd Font:size=15:lang=en-US
# font-bold=<bold variant of regular font>
# font-italic=<italic variant of regular font>
# font-bold-italic=<bold+italic variant of regular font>

View file

@ -21,22 +21,35 @@
package = pkgs.ghostty;
settings = {
# font-family = "FiraCode Nerd Font";
# font-feature = [
# "calt=1"
# "clig=1"
# "liga=1"
# "cv01"
# "cv02"
# "cv06"
# "zero"
# "onum"
# "cv17"
# "ss05"
# "ss03"
# "cv16"
# "cv31"
# "cv29"
# "cv30"
# ];
# font-family = "Maple Mono SC NF";
font-feature = [
"calt=1"
"clig=1"
"liga=1"
"cv01"
"cv02"
"cv06"
"calt"
"zero"
"onum"
"cv17"
"cv01"
"cv96"
"cv97"
"cv98"
"cv99"
"ss05"
"ss03"
"cv16"
"cv31"
"cv29"
"cv30"
"ss08"
];
font-size = lib.mkForce 17;
# theme = "ayu";

View file

@ -141,7 +141,7 @@ in
];
style = ''
* {
font-family: LXGW Wenkai, FiraCode Nerd Font;
font-family: LXGW Wenkai, Maple Mono SC NF;
font-weight: bold;
font-size: 14px;
}

View file

@ -15,8 +15,8 @@
name = "Noto Serif CJK SC";
};
monospace = {
package = pkgs.nerd-fonts.fira-code;
name = "FiraCode Nerd Font";
package = pkgs.maple-mono-SC-NF;
name = "Maple Mono SC NF";
};
emoji = {
package = pkgs.noto-fonts-emoji;

View file

@ -38,6 +38,7 @@ in
enableDefaultPackages = false;
packages = with pkgs; [
nerd-fonts.fira-code
maple-mono-SC-NF
noto-fonts
noto-fonts-cjk-sans
noto-fonts-cjk-serif
@ -55,7 +56,7 @@ in
"Noto Serif"
];
monospace = [
"FiraCode Nerd Font"
"Maple Mono SC NF"
];
emoji = [ "Noto Color Emoji" ];
};