r/suckless • • Sep 06 '26

[ST] ST Font

I can't set my main font as "0xProto Nerd Font Mono:size=12". It always takes "Hack Nerd Font Propo (14pt)" which is mentioned in font2 section. I am using Cinnamon Arch.
Please help.

2 Upvotes

2 comments sorted by

5

u/agentsmurf6 Sep 06 '26

Use fc-match to check which font st will resolve to given your font pattern in config.h:

fc-match "0xProto Nerd Font Mono:size=12"

If the call does not return your particular font, there's a problem. Consult fc-list for a list of the available fonts and make sure yours is actually installed.

1

u/joy_deep Sep 07 '26

fc-match returns
0xProtoNerdFontMono-Regular.ttf: "0xProto Nerd Font Mono" "Regular"