libnotify_actor/protocol.prs
2024-08-26 04:50:04 +03:00

17 lines
659 B
Text

version 1.
# Also acceptable: <xdg-notifications { }>.
ServiceStep = <xdg-notifications> .
# Assertion published to the initial ref acquired by the actor.
ServerInfo = <server-info @name string @vendor string @version string @specVersion string> .
# Message sent to the actor to trigger a notification.
Notify = <notify @summary any @attrs Attrs> .
Attrs = {
} & BodyField & IconField & UrgencyField & CategoryField .
BodyField = @present { body: any} / @absent {} .
IconField = @present { icon: string} / @absent {} .
UrgencyField = @present { urgency: string} / @absent {} .
CategoryField = @present { category: string} / @absent {} .