Skip to main content

Posts

Showing posts from August 13, 2017

Installing fonts and using it in Xresources

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