Shizcow / dmenu-rs

A pixel perfect port of dmenu, rewritten in Rust with extensive plugin support
GNU General Public License v3.0
197 stars 9 forks source link

change the font size #58

Closed greweln closed 9 months ago

greweln commented 9 months ago

I need a bit of a guidance about how the font size could be increased (since there's no flag for it).

Thanks

Shizcow commented 9 months ago

When using the --fn flag, specify fonts in font name syntax. To specify the font size, put it after a dash after the font name. For example, if you want to use the Times font at 12 point, launch dmenu via dmenu --fn 'Times-12'. Now, arbitrary font sizes aren't always available for each font. The recommended method to find a good font size is to just try several and see what works / what looks the best.

TLDR: Specify the font point after the font name as --fn 'FontName-FontSize'.

greweln commented 9 months ago

perfect! thank you