
This patch adds NotificationServer, which runs as the "notify" user and provides an IPC API for desktop notifications. LibGUI gains the GUI::Notification class for showing notifications. NotificationServer is spawned on demand and will unspawn after dimissing all visible notifications. :^) Finally, this also comes with a small /bin/notify utility.
7 lines
142 B
Text
7 lines
142 B
Text
endpoint NotificationServer = 95
|
|
{
|
|
// Basic protocol
|
|
Greet() => (i32 client_id)
|
|
|
|
ShowNotification(String text, String title) =|
|
|
}
|