meta/config/notifications.pr

24 lines
492 B
Promela

<require-service <daemon libnotify_actor>>
? <notifications ?notifyspace> [
$config ? <service-object <daemon libnotify_actor> ?cap> [
$cap { dataspace: $notifyspace }
]
? <built _ ?path _> [
$notifyspace ! <notify $path {} >
]
? <socketspace ?socketspace> [
$socketspace ?? <msg ?summary> [
$notifyspace ! <notify $summary {} >
]
]
? <nixspace ?nixspace> [
$nixspace ? <nix-build _ ?output> [
$notifyspace ! <notify $output {} >
]
]
]