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

Simplify volume_muted icons #517

Closed
wants to merge 1 commit into from
Closed

Simplify volume_muted icons #517

wants to merge 1 commit into from

Conversation

carloabelli
Copy link
Contributor

Maybe I'm missing something, but font awesome includes a volume mute icon so we should just use that instead of attempting to build it out of multiple icons. It is also possible to simplify the code around creating custom mute icons. Not sure if there is a default volume mute icon for material icons, but would be happy to amend.

@carloabelli
Copy link
Contributor Author

Let me know if there's anything I can do to help move this along

src/icons.rs Show resolved Hide resolved
@ammgws
Copy link
Collaborator

ammgws commented Apr 21, 2020

@carloabelli
Just to check, is this working for you? What version of FontAwesome do you have installed?

This is what I get:
image

Using

  • awesome-terminal-fonts 1.1.0-2 (which seemingly provides FontAwesome 4.7.0)
  • sway with bar font config: font pango:DejaVu Sans Mono, FontAwesome 10

@carloabelli
Copy link
Contributor Author

Ah I see now that Font Awesome 4 is still being used (per #130). Though it does appear that the underlying pango issue causing many of the hex box problems has been fixed here. Perhaps it would be worth considering an update to the Font Awesome 5 at this point? I can either wait on this commit until a decision is made there, or I can revert it to the old glyph.

I am using ttf-font-awesome 5.13.0-1:

screenshot_2020-04-21T14:26:54,656963612-04:00

@carloabelli
Copy link
Contributor Author

Changes now included in #619.

@carloabelli carloabelli deleted the mute-icon branch April 27, 2020 21:13
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

Successfully merging this pull request may close these issues.

2 participants