meta/config/notifications.pr

24 lines
492 B
Promela
Raw Normal View History

2023-09-12 08:07:00 +00:00
<require-service <daemon libnotify_actor>>
2023-05-18 09:25:31 +00:00
? <notifications ?notifyspace> [
2023-09-12 08:07:00 +00:00
$config ? <service-object <daemon libnotify_actor> ?cap> [
$cap { dataspace: $notifyspace }
]
2023-05-18 09:25:31 +00:00
? <built _ ?path _> [
$notifyspace ! <notify $path {} >
]
2023-09-12 08:07:00 +00:00
? <socketspace ?socketspace> [
$socketspace ?? <msg ?summary> [
$notifyspace ! <notify $summary {} >
]
]
2023-05-18 09:25:31 +00:00
? <nixspace ?nixspace> [
$nixspace ? <nix-build _ ?output> [
$notifyspace ! <notify $output {} >
]
]
]