Open zenny opened 3 weeks ago
You can pass any font string to lemonbar, e.g.:
bar = lemonbar.Lemonbar(geometry = (x,y,width,height), font='your-font-string-goes-here')
The concrete fonts you mentioned (Inconsolata, Roboto, FiraCode) don't seem to be bitmap fonts. They are scalable fonts (they happen to be monospace, but not all monospace fonts are bitmap fonts!). For scalable fonts, you need lemonbar with xft support (probably a different package). The usage stays the same, e.g.:
bar = lemonbar.Lemonbar(geometry = (x,y,width,height), font='Inconsolata:size=8')
Hi, @t-wissmann
Is there any chance that I can change to a more legible bitmap-font that looks like Inconsolata or Roboto or FiraCode in barpyrus? I did see a few lines in the lemonbar.py, but could not exactly figure out how? Appreciated.
PS: this is in pursuant to your suggestion in the https://github.com/herbstluftwm/herbstluftwm/issues/1595#issuecomment-2304112035. Thanks.