From 4ddd4a18cd9f852d4d23510faae31dd0e0380866 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 29 Sep 2025 15:24:18 +0200 Subject: ... --- accounts/gkleen@sif/shell/quickshell/NotificationDisplay.qml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'accounts/gkleen@sif/shell/quickshell/NotificationDisplay.qml') 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 import Quickshell.Services.Notifications Scope { - readonly property ShellScreen activeScreen: Array.from(Quickshell.screens).find(screen => screen.name === Array.from(NiriService.workspaces).find(ws => ws.is_focused)?.output) ?? null + id: root + + property var activeScreen: Array.from(Quickshell.screens).find(screen => screen.name === Array.from(NiriService.workspaces).find(ws => ws.is_focused)?.output) ?? null Instantiator { id: notifsRepeater @@ -23,6 +25,10 @@ Scope { visible: NotificationManager.active + screen: root.activeScreen + + WlrLayershell.namespace: "notifications" + required property var modelData required property var index -- cgit v1.2.3