gui: Change font configuration
This commit is contained in:
parent
5263c62c29
commit
57dafbe7e1
6 changed files with 14 additions and 26 deletions
|
|
@ -36,7 +36,7 @@
|
|||
# "cv30"
|
||||
# ];
|
||||
|
||||
# font-family = "Maple Mono SC NF";
|
||||
# font-family = "Maple Mono NF CN";
|
||||
font-feature = [
|
||||
"calt"
|
||||
"zero"
|
||||
|
|
|
|||
|
|
@ -142,9 +142,9 @@ in {
|
|||
];
|
||||
style = ''
|
||||
* {
|
||||
font-family: LXGW Wenkai, Maple Mono NF CN;
|
||||
font-family: Libertinus Serif, Maple Mono NF CN;
|
||||
font-weight: bold;
|
||||
font-size: 14px;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
|
|
|
|||
|
|
@ -105,7 +105,7 @@ in {
|
|||
"cv03" = true;
|
||||
"ss08" = true;
|
||||
};
|
||||
ui_font_family = "Source Han Sans SC";
|
||||
ui_font_family = "Source Han Sans";
|
||||
theme = "Gruvbox Dark Hard";
|
||||
vim_mode = true;
|
||||
vim = {
|
||||
|
|
|
|||
|
|
@ -15,12 +15,12 @@
|
|||
};
|
||||
fonts = {
|
||||
serif = {
|
||||
package = pkgs.lxgw-wenkai;
|
||||
name = "LXGW WenKai";
|
||||
package = pkgs.libertinus;
|
||||
name = "Libertinus Serif";
|
||||
};
|
||||
sansSerif = {
|
||||
package = pkgs.source-han-sans;
|
||||
name = "Source Han Sans SC";
|
||||
name = "Source Han Sans";
|
||||
};
|
||||
monospace = {
|
||||
package = pkgs.maple-mono.NF-CN;
|
||||
|
|
|
|||
|
|
@ -15,12 +15,12 @@
|
|||
};
|
||||
fonts = {
|
||||
serif = {
|
||||
package = pkgs.lxgw-wenkai;
|
||||
name = "LXGW WenKai";
|
||||
package = pkgs.libertinus;
|
||||
name = "Libertinus Serif";
|
||||
};
|
||||
sansSerif = {
|
||||
package = pkgs.source-han-sans;
|
||||
name = "Source Han Sans SC";
|
||||
name = "Source Han Sans";
|
||||
};
|
||||
monospace = {
|
||||
package = pkgs.maple-mono.NF-CN;
|
||||
|
|
|
|||
|
|
@ -31,31 +31,19 @@ in {
|
|||
fonts = {
|
||||
enableDefaultPackages = false;
|
||||
packages = with pkgs; [
|
||||
nerd-fonts.fira-code
|
||||
maple-mono.NF-CN
|
||||
noto-fonts
|
||||
noto-fonts-cjk-sans
|
||||
noto-fonts-cjk-serif
|
||||
noto-fonts-emoji
|
||||
lxgw-wenkai
|
||||
source-sans
|
||||
source-serif
|
||||
source-han-serif
|
||||
source-han-sans
|
||||
libertinus
|
||||
];
|
||||
fontconfig.defaultFonts = {
|
||||
serif = [
|
||||
"LXGW WenKai"
|
||||
"Source Han Serif SC"
|
||||
"Noto Serif CJK SC"
|
||||
"Source Serif 4"
|
||||
"Noto Serif"
|
||||
"Libertinus Serif"
|
||||
"Source Han Serif"
|
||||
];
|
||||
sansSerif = [
|
||||
"Source Han Sans SC"
|
||||
"Noto Sans CJK SC"
|
||||
"Source Sans 3"
|
||||
"Noto Sans"
|
||||
"Source Han Sans"
|
||||
];
|
||||
monospace = [
|
||||
"Maple Mono NF CN"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue