mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 02:07:35 +00:00
NotificationServer: Add a system service for desktop notifications
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.
This commit is contained in:
parent
a6e69bda71
commit
9f54ea9bcd
16 changed files with 486 additions and 1 deletions
|
@ -20,6 +20,14 @@ Priority=low
|
|||
KeepAlive=1
|
||||
User=lookup
|
||||
|
||||
[NotificationServer]
|
||||
Socket=/tmp/portal/notify
|
||||
SocketPermissions=660
|
||||
Lazy=1
|
||||
Priority=low
|
||||
KeepAlive=1
|
||||
User=notify
|
||||
|
||||
[WindowServer]
|
||||
Socket=/tmp/portal/window
|
||||
SocketPermissions=660
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue