rfjakob / systembus-notify

systembus-notify - system bus notification daemon
MIT License
57 stars 6 forks source link

add an argument to specify the urgency level #6

Open h3fang opened 4 years ago

h3fang commented 4 years ago

The notifications are all at normal level. Can you add an argument to specify the urgency level? Like the notify-send command does

-u, --urgency=LEVEL
           Specifies the urgency level (low, normal, critical).

Thanks!

fgaz commented 3 months ago

+1! I'm trying to use this to get smartd notifications, and would like to mark them as critical.

In general, it would be nice if net.nuetzlich.SystemNotifications.Notify exposed the same interface as org.freedesktop.Notifications.Notify

rfjakob commented 3 months ago

To be honest, I don't remember why I did not implement the same API as org.freedesktop.Notifications.Notify. It could be implemented in addition to net.nuetzlich.SystemNotifications.Notify, though.