Initial Notification Daemon Impl
This commit is contained in:
28
Services/Notifications.qml
Normal file
28
Services/Notifications.qml
Normal file
@@ -0,0 +1,28 @@
|
||||
pragma Singleton
|
||||
|
||||
import QtQuick
|
||||
import Quickshell
|
||||
import Quickshell.Services.Notifications
|
||||
|
||||
Singleton {
|
||||
id: notificationsRoot
|
||||
|
||||
NotificationServer {
|
||||
id: nServer
|
||||
imageSupported: true
|
||||
|
||||
}
|
||||
|
||||
Connections {
|
||||
function onNotification(rapazinho) {
|
||||
console.log(rapazinho.id)
|
||||
console.log(nServer.trackedNotifications)
|
||||
}
|
||||
|
||||
target: nServer
|
||||
}
|
||||
|
||||
property var tracked: nServer.trackedNotifications
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user