Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save adamscott/cdac11bfd52aba0ad4ea695002bf5b0b to your computer and use it in GitHub Desktop.
Save adamscott/cdac11bfd52aba0ad4ea695002bf5b0b to your computer and use it in GitHub Desktop.
Noto Emoji Color fontconfig for Konsole
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!--
Fira Code + Color Emoji Font Configuration.
Currently the only Terminal Emulator I'm aware that supports colour fonts is Konsole.
Usage:
0. Ensure that the Fira Code fonts are installed on your machine.
1. Install this file to ~/.config/fontconfig/conf.d/99-fira-code-color-emoji.conf
2. Run `fc-cache`
3. Set Konsole to use "Fira Code" as the font.
4. Restart Konsole.
-->
<fontconfig>
<match>
<test name="family"><string>Fira Code</string></test>
<edit name="family" mode="prepend" binding="strong">
<string>Noto Color Emoji</string>
</edit>
</match>
</fontconfig>
@asyd
Copy link

asyd commented Apr 12, 2020

Thanks a lot!

@adxl
Copy link

adxl commented Apr 13, 2023

Amazing ! Thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment