Open valpackett opened 9 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.
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
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.