robm / dzen

Dzen is a general purpose messaging, notification and menuing program for X11.
MIT License
607 stars 81 forks source link

No support for multiple/fallback fonts and fontconfig #32

Open valpackett opened 9 years ago

valpackett commented 9 years ago

It's not possible to use multiple fonts in dzen2 :-( Should be able to say xft:Font Awesome:size=9,xft:Fira Sans:size=9 and it should try showing characters from the first font if they exist there, otherwise try the second font, etc.

Here's how st does it. And here's xmobar.

lunakurame commented 6 years ago

This. I switched from xmobar, because it doesn't support mouse scroll events and I can't get a centered clock working, but now all my Japanese characters and emoji in window titles get ruined when I use dzen as a status bar for xmonad. Using font icons like FontAwesome is also impossible unless you want to start like 100 instances of dzen and hard code their positions so every icon gets a separate dzen bar, but that's way too hacky to be considered sane.

laserbat commented 5 years ago

Hi! I made a small script that solves this exact problem. It uses (undocumented) feature of dzen: ^fn() command

https://github.com/laserbat/confs/blob/master/.config/herbstluftwm/symbols.py

MyriaCore commented 4 years ago

You might wanna update your link, @laserbat. I'd also like to bump this, was gonna use dzen with my weather i3blocklet, but lack of emoji support (due to lack of fallbacks) is kinda breaking this for me.