Skip to content
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

pango, file-icons fonts not working #36

Open
mikaelivarsson opened this issue Jul 10, 2020 · 3 comments
Open

pango, file-icons fonts not working #36

mikaelivarsson opened this issue Jul 10, 2020 · 3 comments

Comments

@mikaelivarsson
Copy link

Not sure if this is the correct way to do this since I try to comment/ask about a fork but I can't find the button to raise an issue there..
@CastixGitHub in your fork you mention it should be possible to use more icons because of the pango integration.
I am able to show the emacs icon using the test:
echo -e '<span font_desc="file-icons">\ue926</span>' | pango-view --markup /dev/stdin
but it won't work for me in the i3bar if I use the example json.

anything that needs to be added to some config for i3 for this to work?

@CastixGitHub
Copy link
Contributor

mh, nope, here's my bottom bar

bar {
    status_command py3status --config ~/.config/i3status-bottom.conf -b
    position bottom
    mode hide
    font pango:FontAwesome 18
}

by default at the top of your file you will have

# Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below.
font pango:monospace 8

how did you install my fork? I mean, I didn't update installation instructions, so if you installed it with pip, you won't get pango support, clone it and place in your config something like

exec_always --no-startup-id exec /home/castix/.config/i3/i3-workspace-names-daemon/i3_workspace_names_daemon.py --log-path /tmp/i3-workspaces-names-daemon.log

also, the latest branch I used is named pytest
also, pango support was added by @bastidest :)

@mikaelivarsson
Copy link
Author

Got it, thanks a lot.
I was stupid enough to think that the pango support was included in the original fork and just further documented in yours..

off topic: anywhere you reside in irc or similar if I have further questions?

@CastixGitHub
Copy link
Contributor

Just allowed anyone to open issues in my fork, anyway, hopefully PR #32 will be merged soon
can this be closed? :)

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

No branches or pull requests

2 participants