Advertisement
metalx1000

alacritty emoji font setup

Feb 29th, 2024
365
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. fc-cache --really-force
  2. fc-list | grep -i "emoji"
  3. mkdir ~/.config/fontconfig/
  4.  
  5. echo '<?xml version="1.0"?>
  6. <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
  7. <fontconfig>
  8. <alias>
  9. <family>monospace</family>
  10. <prefer>
  11. <family>Cousine</family> <!-- Your preferred monospace font -->
  12. <family>Noto Color Emoji</family> <!-- Your preferred emoji font -->
  13. </prefer>
  14. </alias>
  15. </fontconfig>' > ~/.config/fontconfig/fonts.conf
  16.  
  17. fc-cache --really-force
  18.  
  19. # in your alacritty.yml config
  20. font:
  21. normal:
  22. family: monospace
  23. style: Regular
  24. bold:
  25. family: monospace
  26. style: Bold
  27. italic:
  28. family: monospace
  29. style: Italic
  30. size: 18
  31. offset:
  32. x: 0
  33. y: 0
  34. glyph_offset:
  35. x: 0
  36. y: 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement