diff options
author | Daniel Schadt <kingdread@gmx.de> | 2023-05-09 18:30:03 +0200 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2023-05-09 18:31:18 +0200 |
commit | 2eafb3fc0ff9160d378d72124895257b794abcdc (patch) | |
tree | e7e02c0a137c6dba69a986f38abe6d31a0b49be3 /fontconfig | |
parent | e7c4f944f933d2638d7153efa4156753ffe892ba (diff) | |
download | dotfiles-2eafb3fc0ff9160d378d72124895257b794abcdc.tar.gz dotfiles-2eafb3fc0ff9160d378d72124895257b794abcdc.tar.bz2 dotfiles-2eafb3fc0ff9160d378d72124895257b794abcdc.zip |
fontconfig: add local font config file
Diffstat (limited to 'fontconfig')
-rw-r--r-- | fontconfig/.config/fontconfig/fonts.conf | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/fontconfig/.config/fontconfig/fonts.conf b/fontconfig/.config/fontconfig/fonts.conf new file mode 100644 index 0000000..f54c480 --- /dev/null +++ b/fontconfig/.config/fontconfig/fonts.conf @@ -0,0 +1,28 @@ +<?xml version="1.0"?> +<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> +<fontconfig> + <!-- Make sure Noto Color Emoji and Symbols Nerd are used for all languages --> + <match> + <test name="family"> + <string>Noto Color Emoji</string> + </test> + <edit name="lang" mode="delete_all" /> + </match> + + <match> + <test name="family"> + <string>Symbols Nerd Font</string> + </test> + <edit name="lang" mode="delete_all" /> + </match> + + <!-- Use Fira Mono as the monospace font --> + <match target="pattern"> + <test name="family" qual="any"> + <string>monospace</string> + </test> + <edit binding="same" mode="prepend" name="family"> + <string>Fira Mono</string> + </edit> + </match> +</fontconfig> |