dotfiles/fontconfig/fonts.conf

22 lines
687 B
Plaintext

<fontconfig>
<!-- Override monospace detection for custom fonts -->
<!-- either raising the symbols-font immediately after default font -->
<alias>
<family>monospace</family>
<prefer>
<family>DejaVu Sans Mono</family>
<family>Symbols Nerd Font Mono</family>
</prefer>
</alias>
<!-- or using the patched version of the default font -->
<match target="pattern">
<test name="family" qual="any">
<string>monospace</string>
</test>
<edit binding="strong" mode="prepend" name="family">
<!-- the patched version of: `fc-match monospace:regular` -->
<string>DejaVuSansMono Nerd Font</string>
</edit>
</match>
</fontconfig>