18 lines
408 B
QML
18 lines
408 B
QML
pragma Singleton
|
|
import Quickshell
|
|
import Quickshell.Services.Notifications
|
|
import QtQuick
|
|
|
|
Singleton {
|
|
id: root
|
|
property list<Notification> notifications: server.trackedNotifications.values
|
|
NotificationServer {
|
|
id: server
|
|
imageSupported: true
|
|
bodyImagesSupported: true
|
|
|
|
onNotification: notification => {
|
|
notification.tracked = true;
|
|
}
|
|
}
|
|
}
|