dzen
dzen copied to clipboard
No support for multiple/fallback fonts and fontconfig
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.
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.
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
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.