dwmbar icon indicating copy to clipboard operation
dwmbar copied to clipboard

what fonts do you use?

Open RobinHirst11 opened this issue 1 year ago • 2 comments

hello! i currently have ttf-font-awesome and ttf-jetbrains-mono installed, it works for all apart from localip

do you mind sharing what font is best for this?

RobinHirst11 avatar Aug 05 '24 19:08 RobinHirst11

Hello!

It's been a few years since I've used this myself but I would always recommend Nerd Fonts. It bundles a load of icons including fontawesome together and patches popular fonts with them.

A lot of people like inconsolata, I use GoMono. If you're on arch, I'd avoid the AUR packages and instead install them manually in .local/share/fonts and calling fc-cache as https://wiki.archlinux.org/title/Fonts suggests.

thytom avatar Aug 06 '24 08:08 thytom

As an aside, you can also patch other fonts, like jetbrains, with the nerdfont icons manually. I've not done this in a long time though. Check out https://github.com/ryanoasis/nerd-fonts for more details on that.

If you don't want to go the font route at all, you can always follow the "Writing Modules" section of the readme and just set $PREFIX="", or set it to your own icon (like one available in font-awesome)

thytom avatar Aug 06 '24 08:08 thytom

yeah just because the localip module uses an unknown symbol so.. idk

image

RobinHirst11 avatar Jan 13 '25 13:01 RobinHirst11

apparently the prefix is ﯱ

RobinHirst11 avatar Jan 13 '25 14:01 RobinHirst11

Huh. Why that's the case I have no idea. Could have been a fontawesome icon which turns out is something else when using other fonts?

Unicode supports "ᯤ" which seems like a sensible default option, so I'll change it to that.

thytom avatar Jan 14 '25 10:01 thytom