summaryrefslogtreecommitdiff
path: root/accounts/gkleen@sif/shell/quickshell/NotificationDisplay.qml
diff options
context:
space:
mode:
Diffstat (limited to 'accounts/gkleen@sif/shell/quickshell/NotificationDisplay.qml')
-rw-r--r--accounts/gkleen@sif/shell/quickshell/NotificationDisplay.qml8
1 files changed, 7 insertions, 1 deletions
diff --git a/accounts/gkleen@sif/shell/quickshell/NotificationDisplay.qml b/accounts/gkleen@sif/shell/quickshell/NotificationDisplay.qml
index fa27093f..cc0e49b1 100644
--- a/accounts/gkleen@sif/shell/quickshell/NotificationDisplay.qml
+++ b/accounts/gkleen@sif/shell/quickshell/NotificationDisplay.qml
@@ -9,7 +9,9 @@ import QtQuick.Layouts
9import Quickshell.Services.Notifications 9import Quickshell.Services.Notifications
10 10
11Scope { 11Scope {
12 readonly property ShellScreen activeScreen: Array.from(Quickshell.screens).find(screen => screen.name === Array.from(NiriService.workspaces).find(ws => ws.is_focused)?.output) ?? null 12 id: root
13
14 property var activeScreen: Array.from(Quickshell.screens).find(screen => screen.name === Array.from(NiriService.workspaces).find(ws => ws.is_focused)?.output) ?? null
13 15
14 Instantiator { 16 Instantiator {
15 id: notifsRepeater 17 id: notifsRepeater
@@ -23,6 +25,10 @@ Scope {
23 25
24 visible: NotificationManager.active 26 visible: NotificationManager.active
25 27
28 screen: root.activeScreen
29
30 WlrLayershell.namespace: "notifications"
31
26 required property var modelData 32 required property var modelData
27 required property var index 33 required property var index
28 34