dzen icon indicating copy to clipboard operation
dzen copied to clipboard

No support for multiple/fallback fonts and fontconfig

Open valpackett opened this issue 9 years ago • 3 comments

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.

valpackett avatar Jun 28 '15 11:06 valpackett

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.

lunakurame avatar Jun 29 '18 21:06 lunakurame

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

laserbat avatar Jan 08 '19 05:01 laserbat

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.

MyriaCore avatar Jun 20 '20 22:06 MyriaCore