-
Notifications
You must be signed in to change notification settings - Fork 342
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
Custom indicators for URL and Actions #509
Comments
I find the (AU) fairly distracting. It's so large it dwarfs the appname of my notifications, which is deliberately small and grey. |
Simply being able to set indicators to some other string stylable with HTML would be great! |
I have a faint memory of discussing this with @bebehei but I can't seem to find any logs of it. How about adding conditionals to the Though I don't like that we have to use |
@tsipinakis Yeah, we had been discussing previously about this. But I'm not sure, where. I know I had been starting to implement similar stuff with a date field (IIRC I closed this PR because I didn't find an acceptable solution). |
For my part, i would like to customize them, to add the count of actions that is bound to a notification - Like A3. And for U replace it with a emoji. Scripting does not solve this, as actions are not available there. |
Hi everyone, I've drafted a PR with changes to have custom indicators. I tried it with emoji and it works (and looks quite nice!). The indicators can be styled in the format string using Pango markup. I'd love to hear your feedback about the implementation. @tspinakis from what I saw in the code, having conditionals in the format string would be probably difficult to implement (and/or would end up requiring an ugly syntax), so I'd discard that for now. @monkz this implementation doesn't show the number of actions or URLs, it could be added but I don't know if it would be generally useful. What would be a use case that favors knowing the number of actions at first glance? |
@elamperti This allows me to determine if I need the context menu or just a click on the notification. For instance - a sip application rings and notifies the user about a call. Always calling the context menu seems cumbersome. This would not be needed if #234 is possible. |
I'd love to have the opportunity to change my notifications' colors or frame if they have actions or URLs.
Or at least, be able to change
(A)
and(U)
to something else.The text was updated successfully, but these errors were encountered: