Files
quickshell-config/common/NotificationServer.qml

17 lines
355 B
QML

pragma Singleton
import Quickshell
import Quickshell.Services.Notifications
Singleton {
readonly property list<Notification> notifications: server.trackedNotifications.values
readonly property int amountNotifications: notifications.length
NotificationServer {
id: server
onNotification: notif => {
notif.tracked = true;
}
}
}