Compare commits

...

4 Commits

1 changed files with 26 additions and 13 deletions

View File

@ -17,7 +17,7 @@
<alias>
<family>monospace</family>
<prefer>
<family>Fantasque Sans Mono</family>
<family>Fira Code</family>
</prefer>
</alias>
<alias>
@ -27,24 +27,27 @@
</prefer>
</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 -->
<match>
<test name="family">
<string>serif</string>
</test>
<edit name="family" mode="prepend" binding="weak">
<string>emoji</string>
</edit>
</match>
<match>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend" binding="weak">
<string>emoji</string>
</edit>
</match>
<match>
<test name="family">
<string>monospace</string>
</test>
@ -55,11 +58,21 @@
<!-- powerline symbols -->
<match>
<test name="family">
<test qual="any" name="family">
<string>monospace</string>
</test>
<edit name="family" mode="prepend">
<string>PowerlineSymbols</string>
</edit>
</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>