add notifications
This commit is contained in:
parent
7aae19e8e0
commit
3e9fb9f5d1
7 changed files with 305 additions and 1 deletions
18
modules/notifications/NotiServer.qml
Normal file
18
modules/notifications/NotiServer.qml
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
pragma Singleton
|
||||
import Quickshell
|
||||
import Quickshell.Services.Notifications
|
||||
import QtQuick
|
||||
|
||||
Singleton {
|
||||
id: root
|
||||
property alias notifications: server.trackedNotifications
|
||||
NotificationServer {
|
||||
id: server
|
||||
imageSupported: true
|
||||
bodyImagesSupported: true
|
||||
|
||||
onNotification: notification => {
|
||||
notification.tracked = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue