1
1
Fork 0

fonts: add fallback option

Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
Myned 2025-01-09 20:25:14 -06:00
parent 5153b25e99
commit 811388adf5
Signed by: Myned
GPG key ID: C7224454F7881A34
3 changed files with 7 additions and 3 deletions

View file

@ -25,7 +25,7 @@ in {
fill-tabs = mkBoolean true;
floating-controls = mkBoolean true;
floating-controls-hover-area = mkUint32 10;
font = mkString "${config.custom.settings.fonts.monospace} 14";
font = mkString "monospace 14";
headerbar-drag-area = mkBoolean false;
notify-process-completion = mkBoolean false;
opacity = mkUint32 100;
@ -71,7 +71,7 @@ in {
cursor-blink = mkBoolean false;
gtk-enable-primary-paste = mkBoolean false;
color-scheme = mkString "prefer-dark";
monospace-font-name = mkString "${config.custom.settings.fonts.monospace} 14";
monospace-font-name = mkString "monospace 14";
};
# GNOME Files

View file

@ -10,6 +10,7 @@ in {
options.custom.settings.fonts = {
enable = mkOption {default = false;};
emoji = mkOption {default = "Noto Color Emoji";};
fallback = mkOption {default = "Unifont";};
monospace = mkOption {default = "IosevkaTerm NFP SemiBold";};
sans-serif = mkOption {default = "Outfit";};
serif = mkOption {default = "Liberation Serif";};
@ -54,6 +55,9 @@ in {
# Microsoft
corefonts
vistafonts
# Fallback
unifont
]);
#?? fc-list --brief | grep family: | sort

View file

@ -41,7 +41,7 @@ in {
};
gtk4 = {
extraConfig.gtk-hint-font-metrics = 1; # Fix blurry fonts
#// extraConfig.gtk-hint-font-metrics = 1; # Fix blurry fonts
extraCss = css;
};
};