Feature 57 (config and provisioning): modules declare config and provisions, their files rendered from templates; synced with main (issues of feature 57, 874)
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
|
||||
<!--
|
||||
The mesh's file (module fonts, novox/hq research 026/04): which face each generic family means for
|
||||
this account, so every program that asks for monospace, sans-serif, serif or emoji gets the same
|
||||
face. Replaced at every push. Other files in this directory are yours.
|
||||
-->
|
||||
<fontconfig>
|
||||
<description>The mesh: the faces monospace, sans-serif, serif and emoji mean</description>
|
||||
|
||||
<!--
|
||||
Families the desktop's files named before this module, mapped to monospace for as long as they
|
||||
are not installed: a configuration still naming one gets the chosen monospace face rather than
|
||||
fontconfig's last resort, sans-serif. Where the family is still installed, it is used as before.
|
||||
Placed first, so the monospace they lead to is resolved by the rule below.
|
||||
-->
|
||||
<alias><family>Hack Nerd Font</family><accept><family>monospace</family></accept></alias>
|
||||
<alias><family>MesloLGS NF</family><accept><family>monospace</family></accept></alias>
|
||||
<alias><family>Iosevka Nerd Font</family><accept><family>monospace</family></accept></alias>
|
||||
<alias><family>JetBrains Mono Nerd Font</family><accept><family>JetBrainsMono Nerd Font</family></accept></alias>
|
||||
|
||||
<!--
|
||||
The decided faces, bound the same as the request: a program asking for monospace asks strongly,
|
||||
and a face added weakly loses to the distribution's own choice (measured with fontconfig 2.18).
|
||||
-->
|
||||
<alias binding="same"><family>monospace</family><prefer><family>JetBrainsMono Nerd Font</family></prefer></alias>
|
||||
<alias binding="same"><family>sans-serif</family><prefer><family>Inter</family><family>Noto Sans</family></prefer></alias>
|
||||
<alias binding="same"><family>system-ui</family><prefer><family>Inter</family></prefer></alias>
|
||||
<alias binding="same"><family>serif</family><prefer><family>Noto Serif</family></prefer></alias>
|
||||
<alias binding="same"><family>emoji</family><prefer><family>Noto Color Emoji</family></prefer></alias>
|
||||
|
||||
<!--
|
||||
Fallbacks for any face: an icon a face lacks comes from the Nerd Fonts symbols, an emoji from
|
||||
Noto Color Emoji. Appended last, so they never displace a face that has the character.
|
||||
-->
|
||||
<match target="pattern">
|
||||
<edit name="family" mode="append_last"><string>Symbols Nerd Font</string></edit>
|
||||
<edit name="family" mode="append_last"><string>Noto Color Emoji</string></edit>
|
||||
</match>
|
||||
</fontconfig>
|
||||
Reference in New Issue
Block a user