fix: Choose SC variant of cjk fonts

This commit is contained in:
ulic-youthlic 2026-02-09 22:00:16 +08:00
parent 4bd393b78e
commit 2c8c106aa0
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
8 changed files with 21 additions and 10 deletions

View file

@ -18,7 +18,7 @@
settings = {
font-family = [
"MonoLisa"
"Source Han Sans"
"Source Han Sans SC"
];
font-size = lib.mkForce 17;
theme = "Atom One Dark";

View file

@ -159,7 +159,7 @@ in {
settings = cfg.settings;
style = ''
* {
font-family: Libertinus Serif, Source Han Serif;
font-family: Libertinus Serif, Source Han Serif SC;
font-weight: bold;
font-size: 16px;
}

View file

@ -31,7 +31,6 @@ in {
"hurl"
"idris2"
"java"
"java-eclipse-jdtls"
"kdl"
"kotlin"
"lua"
@ -111,9 +110,9 @@ in {
buffer_font_size = 20;
buffer_font_family = "MonoLisa";
buffer_font_fallback = [
"Source Han Sans"
"Source Han Sans SC"
];
ui_font_family = "Source Han Sans";
ui_font_family = "Source Han Sans SC";
theme = "Catppuccin Latte";
helix_mode = true;
};

View file

@ -39,6 +39,18 @@ in {
fish_greeting = {
body = '''';
};
nani = {
body =
# fish
''
for command in $argv
echo "$command:"
for path in $(which --all "$command" 2>/dev/null)
realpath $path
end
end
'';
};
};
shellInitLast =
# fish

View file

@ -20,7 +20,7 @@
};
sansSerif = {
package = pkgs.source-han-sans;
name = "Source Han Sans";
name = "Source Han Sans SC";
};
monospace = {
package = pkgs.maple-mono.NF-CN;

View file

@ -20,7 +20,7 @@
};
sansSerif = {
package = pkgs.source-han-sans;
name = "Source Han Sans";
name = "Source Han Sans SC";
};
monospace = {
package = pkgs.maple-mono.NF-CN;

View file

@ -71,11 +71,11 @@ in {
defaultFonts = {
serif = [
"Libertinus Serif"
"Source Han Serif"
"Source Han Serif SC"
"Noto Serif CJK SC"
];
sansSerif = [
"Source Han Sans"
"Source Han Sans SC"
"Noto Sans CJK SC"
];
monospace = [

View file

@ -3,7 +3,7 @@
#lua
''
if vim.g.neovide then
vim.o.guifont = [[MonoLisa,Source Han Sans,Noto Color Emoji:h16]]
vim.o.guifont = [[MonoLisa,Source Han Sans SC,Noto Color Emoji:h16]]
vim.g.neovide_opacity = 0.9
vim.g.linespace = 0.2
vim.g.neovide_text_gamma = 0.8