working notifications
This commit is contained in:
parent
cf4696fe04
commit
e1504bfc92
5 changed files with 112 additions and 0 deletions
17
modules/notifications/NotiServer.qml
Normal file
17
modules/notifications/NotiServer.qml
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
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