-
Notifications
You must be signed in to change notification settings - Fork 351
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
Allow setting icon colors #994
Comments
You can set a color using markup inside the notification body or the notification format. For the syntax, take a look at https://docs.gtk.org/Pango/pango_markup.html Does this satisfy your use case? |
I don't see how to define a markup, and hence the color, of the icon anywhere in the docs.
|
Is it the icon? Then there's no way of coloring it AFAIK. If it's part of the text, however, it can be colored with markup |
Yes. THE icon, my dear sir. |
I was confused, because Font Awesome is a font and can presumably also be used as a font for your notifications. That could be a possible solution for you |
Yes. I could possibly use the FA icon as part of the body but at this point I might as well use another notification deamon that provides better layout flexibility. ¯\_(ツ)_/¯ Thanks anyways |
We've already got dunst, why have 2 daemons? Espcially when one of them is so wildly unsupported. Dunst unfortunately doesn't have baked in support for symbolic icons, so it doesn't know how to color them (see dunst-project/dunst#994), so the contrast on this isn't great.
For symbolic icons, gtk provides a However, it looks like A few ideas:
I could try putting together a PR if a maintainer would let me know which approach we prefer. |
Adding a gtk dependency would indeed not be an option. I would go for option 4, which you didn't mention. And that is to do what's mentioned in #1081 (comment) and #1081 (comment). Would that do what you want? |
This issue shouldn't be closed. There is a solution proposed, but it's just not finished. If anyone wants to help, they're welcome |
I'm trying to use Font Awesome icons and they come in black, by default. Would be lovely to be able to set a custom color for them, either using a hint or at least globally.
The text was updated successfully, but these errors were encountered: