mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-25 18:28:41 +02:00
chore: fonts - remove unused fonts, add mono fonts for cjk
feat: more fontconfig parameters
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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`
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user