diff options
author | Soispha <soispha@vhack.eu> | 2023-08-28 20:25:52 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-08-28 20:25:52 +0200 |
commit | 595fff4738e9e3c358154d04d875c1f54bcc38c3 (patch) | |
tree | a1aaea2c5bf2f4dd25e58254714a2060815767bb /sys/font/font.xml | |
parent | Refactor(hm/conf/alacritty): Split the configuration in separate files (diff) | |
download | nixos-config-595fff4738e9e3c358154d04d875c1f54bcc38c3.zip |
Fix(sys/font): Add default fonts with nerd fonts support
Diffstat (limited to '')
-rw-r--r-- | sys/font/font.xml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/sys/font/font.xml b/sys/font/font.xml new file mode 100644 index 00000000..4248cc01 --- /dev/null +++ b/sys/font/font.xml @@ -0,0 +1,25 @@ +<!-- NOTE: This is responsible for color emoji support <2023-08-28> --> +<!-- WARNING: This [link](https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/111#note_630720) + contains some discussion about, the below code. But it's down right now. <2023-08-28> --> +<?xml version="1.0"?> +<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> +<fontconfig> + <alias binding="weak"> + <family>monospace</family> + <prefer> + <family>emoji</family> + </prefer> + </alias> + <alias binding="weak"> + <family>sans-serif</family> + <prefer> + <family>emoji</family> + </prefer> + </alias> + <alias binding="weak"> + <family>serif</family> + <prefer> + <family>emoji</family> + </prefer> + </alias> +</fontconfig> |