Skip to content

Commit

Permalink
Make Alacritty have coloured emoji
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcelRobitaille committed Jul 1, 2020
1 parent c75203d commit df4e3ab
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 9 deletions.
15 changes: 6 additions & 9 deletions alacritty/alacritty.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,21 +45,18 @@ draw_bold_text_with_bright_colors: true
font:
# The normal (roman) font face to use.
normal:
family: SauceCodePro Nerd Font Mono # should be "Menlo" or something on macOS.
# Style can be specified to pick a specific face.
# style: Regular
family: monospace
style: Regular

# The bold font face
bold:
family: SauceCodePro Nerd Font Mono # should be "Menlo" or something on macOS.
# Style can be specified to pick a specific face.
# style: Bold
family: monospace
style: Bold

# The italic font face
italic:
family: SauceCodePro Nerd Font Mono # should be "Menlo" or something on macOS.
# Style can be specified to pick a specific face.
# style: Italic
family: monospace
style: Italic

# Point size of the font
{%@@ if profile == "Hermes" @@%}
Expand Down
6 changes: 6 additions & 0 deletions config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,11 @@ dotfiles:
src: ./flake8/flake8
link: link

fontconfig:
src: ./fontconfig/fonts.conf
dst: ~/.config/fontconfig/fonts.conf
link: link

git:
dst: ~/.config/git/config
src: ./git/.gitconfig
Expand Down Expand Up @@ -356,6 +361,7 @@ profiles:
- dunst_icons
- firefox
- flake8
- fontconfig
- git
- gitignore
- gtk
Expand Down
13 changes: 13 additions & 0 deletions fontconfig/fonts.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0"?>
<!-- vim: ft=xml
-->
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>monospace</family>
<prefer>
<family>SauceCodePro Nerd Font Mono</family>
<family>Noto Color Emoji</family>
</prefer>
</alias>
</fontconfig>
1 change: 1 addition & 0 deletions pacman-package-list.txt
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ netctl
nextcloud-client
nginx
nodejs
noto-fonts-emoji
npm
nss-mdns
ntfs-3g
Expand Down

0 comments on commit df4e3ab

Please sign in to comment.