Repository navigation
Closed
Description
I'm not really aware of the performance or any other implications for this, but this does seem to be a valid way of using the devicons and powerline fonts without patching.
cat $HOME/.config/fontconfig/fonts.conf<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>Inconsolata-dz</family>
<prefer>
<family>PowerlineSymbols</family>
<family>icomoon</family>
</prefer>
</alias>
<alias>
<family>Source Code Pro</family>
<prefer>
<family>PowerlineSymbols</family>
<family>icomoon</family>
</prefer>
</alias>
</fontconfig>NOTE: devicons shows up as icomoon
If anybody has any reasons why it's a bad idea, then let me know.
Activity
ryanoasis commentedon Nov 20, 2015
Thanks! I really haven't had a chance to look into this but I will. I remember reading something about it in the powerline repo. From what i understand it is not a 100% compatible solution but seems to work in most cases.
beanaroo commentedon Mar 2, 2016
This works on Vte terminals (gnome-terminal, sakura, termite etc.) but terminals like urxvt and Xterm seem to only load one font.
ryanoasis commentedon Mar 2, 2016
@beanaroo Thanks that makes sense. I haven't really followed up on this 😊 . It is marked as a future item for now at least.
ryanoasis commentedon May 2, 2017
There is now a fontconfig available for Nerd Fonts: 10-nerd-font-symbols.conf
I am considering this issue now closed, thanks @jrobeson and @beanaroo 😄
edit: Also added this to the wiki: FAQ & Troubleshooting > fonts 😉