Fixed notification server to actually start a server
This commit is contained in:
@@ -4,6 +4,14 @@ import Quickshell
|
|||||||
import Quickshell.Services.Notifications
|
import Quickshell.Services.Notifications
|
||||||
|
|
||||||
Singleton {
|
Singleton {
|
||||||
readonly property list<Notification> notifications: NotificationServer.trackedNotifications.values
|
readonly property list<Notification> notifications: server.trackedNotifications.values
|
||||||
readonly property int amountNotifications: notifications.length
|
readonly property int amountNotifications: notifications.length
|
||||||
|
|
||||||
|
NotificationServer {
|
||||||
|
id: server
|
||||||
|
|
||||||
|
onNotification: notif => {
|
||||||
|
notif.tracked = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user