emoji in Konsole

This commit is contained in:
Alexander Popov 2023-07-31 16:11:19 +03:00
parent 5cbd5017c0
commit 822470d50b
Signed by: iiiypuk
GPG Key ID: E47FE0AB36CD5ED6
1 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!--
Cascadia Mono + Color Emoji Font Configuration.
Currently the only Terminal Emulator I'm aware that supports colour fonts is Konsole.
Usage:
0. Ensure that the Noto fonts are installed on your machine.
1. Install this file to ~/.config/fontconfig/conf.d/99-noto-mono-color-emoji.conf
2. Run `fc-cache`
3. Set Konsole to use "Cascadia Mono" as the font.
4. Restart Konsole.
Thanks: https://gist.github.com/IgnoredAmbience/7c99b6cf9a8b73c9312a71d1209d9bbb
-->
<fontconfig>
<match>
<test name="family"><string>Cascadia Mono</string></test>
<edit name="family" mode="prepend" binding="strong">
<string>Noto Color Emoji</string>
</edit>
</match>
</fontconfig>