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;
|
||||
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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue