Compare commits

...

4 Commits

1 changed files with 26 additions and 13 deletions

View File

@ -17,7 +17,7 @@
<alias> <alias>
<family>monospace</family> <family>monospace</family>
<prefer> <prefer>
<family>Fantasque Sans Mono</family> <family>Fira Code</family>
</prefer> </prefer>
</alias> </alias>
<alias> <alias>
@ -27,24 +27,27 @@
</prefer> </prefer>
</alias> </alias>
<!-- by default fontconfig assumes any unrecognized font is sans-serif, so -->
<!-- the fonts above now have /both/ families. fix this. -->
<!-- note that "delete" applies to the first match -->
<match>
<test compare="eq" name="family">
<string>sans-serif</string>
</test>
<test compare="eq" name="family">
<string>monospace</string>
</test>
<edit mode="delete" name="family"/>
</match>
<!-- emoji support --> <!-- emoji support -->
<match> <match>
<test name="family"> <test name="family">
<string>serif</string> <string>serif</string>
</test> </test>
<edit name="family" mode="prepend" binding="weak">
<string>emoji</string>
</edit>
</match>
<match>
<test name="family"> <test name="family">
<string>sans-serif</string> <string>sans-serif</string>
</test> </test>
<edit name="family" mode="prepend" binding="weak">
<string>emoji</string>
</edit>
</match>
<match>
<test name="family"> <test name="family">
<string>monospace</string> <string>monospace</string>
</test> </test>
@ -55,11 +58,21 @@
<!-- powerline symbols --> <!-- powerline symbols -->
<match> <match>
<test name="family"> <test qual="any" name="family">
<string>monospace</string> <string>monospace</string>
</test> </test>
<edit name="family" mode="prepend"> <edit name="family" mode="prepend">
<string>PowerlineSymbols</string> <string>PowerlineSymbols</string>
</edit> </edit>
</match> </match>
</fontconfig>
<!-- nerd symbols -->
<match>
<test qual="any" name="family">
<string>monospace</string>
</test>
<edit name="family" mode="prepend">
<string>Symbols Nerd Font</string>
</edit>
</match>
</fontconfig>