fix: Choose SC variant of cjk fonts
This commit is contained in:
parent
4bd393b78e
commit
2c8c106aa0
8 changed files with 21 additions and 10 deletions
|
|
@ -18,7 +18,7 @@
|
|||
settings = {
|
||||
font-family = [
|
||||
"MonoLisa"
|
||||
"Source Han Sans"
|
||||
"Source Han Sans SC"
|
||||
];
|
||||
font-size = lib.mkForce 17;
|
||||
theme = "Atom One Dark";
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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 = [
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue