29 lines
470 B
QML
29 lines
470 B
QML
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
|
|
|
|
|
|
}
|