chore: fonts - remove unused fonts, add mono fonts for cjk

feat: more fontconfig parameters
This commit is contained in:
Ryan Yin
2025-06-22 18:19:29 +08:00
parent df06a1d7e4
commit 5716831d6c
10 changed files with 80 additions and 70 deletions

View File

@@ -43,10 +43,10 @@
history = 10000;
};
font = {
bold = {family = "JetBrainsMono Nerd Font";};
italic = {family = "JetBrainsMono Nerd Font";};
normal = {family = "JetBrainsMono Nerd Font";};
bold_italic = {family = "JetBrainsMono Nerd Font";};
bold = {family = "Maple Mono NF CN";};
italic = {family = "Maple Mono NF CN";};
normal = {family = "Maple Mono NF CN";};
bold_italic = {family = "Maple Mono NF CN";};
size =
if pkgs.stdenv.isDarwin
then 14

View File

@@ -16,7 +16,7 @@
settings = {
main = {
term = "foot"; # or "xterm-256color" for maximum compatibility
font = "JetBrainsMono Nerd Font:size=14";
font = "Maple Mono NF CN:size=14";
dpi-aware = "yes";
# Spawn a nushell in login mode via `bash`

View File

@@ -22,7 +22,7 @@
settings = {
theme = "catppuccin-mocha";
font-family = "JetBrainsMono Nerd Font";
font-family = "Maple Mono NF CN";
font-size = 13;
background-opacity = 0.93;

View File

@@ -21,7 +21,7 @@
# and it's installed by home-manager if `theme` is specified.
themeFile = "Catppuccin-Mocha";
font = {
name = "JetBrainsMono Nerd Font";
name = "Maple Mono NF CN";
# use different font size on macOS
size =
if pkgs.stdenv.isDarwin

View File

@@ -12,7 +12,7 @@ on-touch=dismiss
on-notify=exec mpv /usr/share/sounds/freedesktop/stereo/message.oga
# STYLE OPTIONS
font=JetBrains Mono 10
font=Maple Mono NF CN
width=300
height=100
margin=10

View File

@@ -3,7 +3,7 @@
* {
/* https://docs.gtk.org/gtk3/css-overview.html#colors */
color: @text;
font-family: "JetBrainsMono Nerd Font";
font-family: "Maple Mono NF CN";
font-size: 12pt;
font-weight: bold;
border-radius: 8px;
@@ -149,4 +149,3 @@ tooltip label {
padding-right: 8px;
padding-left: 10px;
}

View File

@@ -1,6 +1,6 @@
/** ********** Fonts ********** **/
* {
font-family: "JetBrains Mono", "Iosevka Nerd Font", sans-serif;
font-family: "Maple Mono NF CN", sans-serif;
font-size: 14px;
font-weight: bold;
}

View File

@@ -32,7 +32,7 @@
* {
transition: 200ms ease;
font-family: "JetBrainsMono Nerd Font";
font-family: "Maple Mono NF CN";
font-size: 1.3rem;
}
@@ -52,7 +52,7 @@
background-color: @bg-col;
}
/* anyrun's ouput matches entries - Base */
/* anyrun's output matches entries - Base */
#match {
color: @fg-col;
background: @bg-col;