Add .config/fontconfig/conf.d/10-sans-serif.conf
Add .config/fontconfig/conf.d/20-serif.conf Add .config/fontconfig/conf.d/30-monospace.conf
This commit is contained in:
parent
0f0c7965f8
commit
10ff4329bb
3 changed files with 47 additions and 0 deletions
14
dot_config/fontconfig/conf.d/10-sans-serif.conf
Normal file
14
dot_config/fontconfig/conf.d/10-sans-serif.conf
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?xml version='1.0'?>
|
||||
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
|
||||
<fontconfig>
|
||||
<alias>
|
||||
<family>sans-serif</family>
|
||||
<prefer>
|
||||
<family>Noto Sans</family>
|
||||
<family>Noto Color Emoji</family>
|
||||
<family>Noto Emoji</family>
|
||||
<family>DejaVu Sans</family>
|
||||
</prefer>
|
||||
</alias>
|
||||
</fontconfig>
|
||||
|
14
dot_config/fontconfig/conf.d/20-serif.conf
Normal file
14
dot_config/fontconfig/conf.d/20-serif.conf
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?xml version='1.0'?>
|
||||
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
|
||||
<fontconfig>
|
||||
<alias>
|
||||
<family>serif</family>
|
||||
<prefer>
|
||||
<family>Noto Serif</family>
|
||||
<family>Noto Color Emoji</family>
|
||||
<family>Noto Emoji</family>
|
||||
<family>DejaVu Serif</family>
|
||||
</prefer>
|
||||
</alias>
|
||||
</fontconfig>
|
||||
|
19
dot_config/fontconfig/conf.d/30-monospace.conf
Normal file
19
dot_config/fontconfig/conf.d/30-monospace.conf
Normal file
|
@ -0,0 +1,19 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
<fontconfig>
|
||||
<alias>
|
||||
<family>monospace</family>
|
||||
<prefer>
|
||||
<family>Operator Mono</family>
|
||||
</prefer>
|
||||
</alias>
|
||||
<match target="pattern">
|
||||
<test qual="any" name="family">
|
||||
<string>Operator Mono</string>
|
||||
</test>
|
||||
<edit name="weight" mode="assign">
|
||||
<int>200</int> <!-- 200 is commonly used for bold weights -->
|
||||
</edit>
|
||||
</match>
|
||||
</fontconfig>
|
||||
|
Loading…
Reference in a new issue