dotfiles/.config/fontconfig/fonts.conf
Trysdyn Black ba11cb9782 Set up font fallthrough for emoji
We set up a fonts.conf to specify Bitstream Vera for all my font
preferences with a fallback to the Noto Color Emoji. This should
standardize font/emoji support and my method falls back to system
fontconfig if these aren't font.

Then we swap alacritty and sway to monospace.
2022-10-21 23:23:24 -07:00

32 lines
782 B
XML

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
<!-- $XDG_CONFIG_HOME/fontconfig/fonts.conf for per-user font configuration -->
<fontconfig>
<match>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Bitstream Vera Sans</string>
<string>Noto Color Emoji</string>
</edit>
</match>
<match>
<test name="family">
<string>serif</string>
</test>
<edit name="family" mode="prepend">
<string>Bitstream Vera Serif</string>
<string>Noto Color Emoji</string>
</edit>
</match>
<match>
<test name="family">
<string>monospace</string>
</test>
<edit name="family" mode="prepend">
<string>Bitstream Vera Sans Mono</string>
<string>Noto Color Emoji</string>
</edit>
</match>
</fontconfig>