Skip to content

Instantly share code, notes, and snippets.

@itsmikita
Last active May 31, 2024 20:14
Show Gist options
  • Save itsmikita/349d0229259cfbe4b1b30b13f6e5c5b5 to your computer and use it in GitHub Desktop.
Save itsmikita/349d0229259cfbe4b1b30b13f6e5c5b5 to your computer and use it in GitHub Desktop.
When your Nerd Font not displaying any icons on (Arch) Linux.
  1. Remove no-bitmaps setting from your fontconfig:
mv cd /usr/share/fontconfig/conf.avail/70-no-bitmaps.conf ~/Downloads
  1. Install ttf-nerd-fonts-symbols, ttf-nerd-fonts-symbols-common and ttf-nerd-fonts-symbols-mono packages from AUR:
yay ttf-nerd-fonts-symbols
  1. Add your Nerd Font to /usr/share/fontconfig/conf.avail/10-nerd-font-symbols.conf:
<alias>
  <family>Your Nerd Font Family</family>
  <prefer><family>Symbols Nerd Font</family></prefer>
</alias>
  1. You may need to reboot.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment