-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use system fontawesome #31
Comments
Hi @HFel, the python3
>>> import fontawesome
>>> fontawesome.icons['youtube']
'\uf167` The python package gives you the character code, which is later rendered by I just updated fontawesome to version 5.10.1, so a |
Ok, thanks. My question was though if it's not possible to use the system-installed font for the mapping itself as well. EDIT2: Replacing the EDIT3: Actually, I still have problems displaying some of the new glyphs. I have only one version of FA installed on my system, which seems to be referenced correctly in the bar config, at least according to |
Yeah unfortunately I don't think the font contains the "name" for each glyph, so the mapping has to be generated from the source and not the font itself. Hmm, it sounds to me like you have it setup correctly, so I'm not sure what the issue is. Are you able to get any icons to work (that you've tried) or do they all seem broken? I'd guess it's an issue with the polybar setup, but I don't have much familiarity with it. It's possible this github issue is relevant, but I'm afraid I don't know much about it: #29. |
Most icons work correctly, but some don't, almost as if polybar was using the older version of FA. I'll bring it up with them. |
Hello!
I was wondering if it's possible to configure the autorename_workspaces.py script to reference the FA file that's installed on the system along with other fonts as opposed to the one installed through pip. The one in the python repository tends to be updated more slowly, so it's not possible to take advantage of the newest icons.
Alternatively, would it be possible to feed the script the unicode code for the desired characters directly and thus bypass the need for the script to handle fontawesome altogether?
The text was updated successfully, but these errors were encountered: