-
Notifications
You must be signed in to change notification settings - Fork 348
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
readme fixes and appname toggle #1
Conversation
First of all thank you very much for your interest.
%a will then be replaced with the appname, %s with the message summary and %b with the messge body. (this example is the format currently used). So if you don't want the appname to not be displayed, you will be able to change the format to
Maybe I'll add support for Icons in the future, but currently it's a very low priority for me. But once the -format option is implemented, I can add %i for the icon name. |
Sounds great |
I agree icons don't make much since with the height of the typical message, but what actually would be cool I think would be to allow defining different fg/bg combos based on the icon name. So I could define a default color scheme and then have special ones for -i alert and -i info. |
One thing I'm currently working on is to make dunst obay the urgency-level of the message. The specifications for notifications allow three levels: low,normal and critical. If this is finished, you will be able to define a colorscheme for each level. |
Cool if you could specify what field you wanted the filter to match (not just summary/body) that would solve my problem as long as it included supported for icon name. You could use do %a "pidgin" to give all pidgin messages a specific scheme, and then be more specific for contacts if you wanted. |
Fix segfault in startup notification
Very cool app!
I fixed a couple mistakes in README and added a toggle for the appname. The problem is 99% of the time, for me at least, it shows notify-send which isn't very interesting.
I don't know C so sorry if there are mistakes. Wasn't sure about option convention including naming (-appname or --disable-appname or --appname=x), or how to write options (0/1). Feel free to change.
Probably the only thing I'm missing with this is icons. If you stick with all text might still be nice to allow displaying the name of the icon. With notify-send I use -i info and -i alert and -i appname a lot. Maybe display it with the same syntax as appname currently.