Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

No support for multiple/fallback fonts and fontconfig #32

Open
valpackett opened this issue Jun 28, 2015 · 3 comments
Open

No support for multiple/fallback fonts and fontconfig #32

valpackett opened this issue Jun 28, 2015 · 3 comments

Comments

@valpackett
Copy link

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
Copy link

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
Copy link

laserbat commented Jan 8, 2019

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
Copy link

MyriaCore commented Jun 20, 2020

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.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants