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 # title=foot
# locked-title=no # 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-bold=<bold variant of regular font>
# font-italic=<italic variant of regular font> # font-italic=<italic variant of regular font>
# font-bold-italic=<bold+italic variant of regular font> # font-bold-italic=<bold+italic variant of regular font>

View file

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

View file

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

View file

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

View file

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