Drop the .otf/.ttf font file in ~/.local/share/fonts (or the deprecated ~/.fonts/)
Rehash fonts db using: fc-cache -f -v (or reboot)
Find the font family name by grepping for it like: fc-list -v | grep "Nerd font" | grep "family:"
My result was "DroidSansMono Nerd Font"
In ~/.Xresources, put in this line: xterm*faceName: xterm*faceName: DroidSansMono Nerd Font:size=16:antialias=true
And finally: xrdb ~/.Xresources
Rehash fonts db using: fc-cache -f -v (or reboot)
Find the font family name by grepping for it like: fc-list -v | grep "Nerd font" | grep "family:"
My result was "DroidSansMono Nerd Font"
In ~/.Xresources, put in this line: xterm*faceName: xterm*faceName: DroidSansMono Nerd Font:size=16:antialias=true
And finally: xrdb ~/.Xresources
Comments
Post a Comment