fonts: add fallback option
Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
parent
5153b25e99
commit
811388adf5
3 changed files with 7 additions and 3 deletions
|
@ -25,7 +25,7 @@ in {
|
||||||
fill-tabs = mkBoolean true;
|
fill-tabs = mkBoolean true;
|
||||||
floating-controls = mkBoolean true;
|
floating-controls = mkBoolean true;
|
||||||
floating-controls-hover-area = mkUint32 10;
|
floating-controls-hover-area = mkUint32 10;
|
||||||
font = mkString "${config.custom.settings.fonts.monospace} 14";
|
font = mkString "monospace 14";
|
||||||
headerbar-drag-area = mkBoolean false;
|
headerbar-drag-area = mkBoolean false;
|
||||||
notify-process-completion = mkBoolean false;
|
notify-process-completion = mkBoolean false;
|
||||||
opacity = mkUint32 100;
|
opacity = mkUint32 100;
|
||||||
|
@ -71,7 +71,7 @@ in {
|
||||||
cursor-blink = mkBoolean false;
|
cursor-blink = mkBoolean false;
|
||||||
gtk-enable-primary-paste = mkBoolean false;
|
gtk-enable-primary-paste = mkBoolean false;
|
||||||
color-scheme = mkString "prefer-dark";
|
color-scheme = mkString "prefer-dark";
|
||||||
monospace-font-name = mkString "${config.custom.settings.fonts.monospace} 14";
|
monospace-font-name = mkString "monospace 14";
|
||||||
};
|
};
|
||||||
|
|
||||||
# GNOME Files
|
# GNOME Files
|
||||||
|
|
|
@ -10,6 +10,7 @@ in {
|
||||||
options.custom.settings.fonts = {
|
options.custom.settings.fonts = {
|
||||||
enable = mkOption {default = false;};
|
enable = mkOption {default = false;};
|
||||||
emoji = mkOption {default = "Noto Color Emoji";};
|
emoji = mkOption {default = "Noto Color Emoji";};
|
||||||
|
fallback = mkOption {default = "Unifont";};
|
||||||
monospace = mkOption {default = "IosevkaTerm NFP SemiBold";};
|
monospace = mkOption {default = "IosevkaTerm NFP SemiBold";};
|
||||||
sans-serif = mkOption {default = "Outfit";};
|
sans-serif = mkOption {default = "Outfit";};
|
||||||
serif = mkOption {default = "Liberation Serif";};
|
serif = mkOption {default = "Liberation Serif";};
|
||||||
|
@ -54,6 +55,9 @@ in {
|
||||||
# Microsoft
|
# Microsoft
|
||||||
corefonts
|
corefonts
|
||||||
vistafonts
|
vistafonts
|
||||||
|
|
||||||
|
# Fallback
|
||||||
|
unifont
|
||||||
]);
|
]);
|
||||||
|
|
||||||
#?? fc-list --brief | grep family: | sort
|
#?? fc-list --brief | grep family: | sort
|
||||||
|
|
|
@ -41,7 +41,7 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
gtk4 = {
|
gtk4 = {
|
||||||
extraConfig.gtk-hint-font-metrics = 1; # Fix blurry fonts
|
#// extraConfig.gtk-hint-font-metrics = 1; # Fix blurry fonts
|
||||||
extraCss = css;
|
extraCss = css;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue