diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2025-09-29 15:24:18 +0200 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2025-09-29 15:24:18 +0200 |
| commit | 4ddd4a18cd9f852d4d23510faae31dd0e0380866 (patch) | |
| tree | db27025055014163a2da0d7e677bde2967169d6d /accounts/gkleen@sif/shell/quickshell/NotificationDisplay.qml | |
| parent | 5cee7108d60ca11ccba1b19ccad74664f6f96cf5 (diff) | |
| download | nixos-4ddd4a18cd9f852d4d23510faae31dd0e0380866.tar nixos-4ddd4a18cd9f852d4d23510faae31dd0e0380866.tar.gz nixos-4ddd4a18cd9f852d4d23510faae31dd0e0380866.tar.bz2 nixos-4ddd4a18cd9f852d4d23510faae31dd0e0380866.tar.xz nixos-4ddd4a18cd9f852d4d23510faae31dd0e0380866.zip | |
...
Diffstat (limited to 'accounts/gkleen@sif/shell/quickshell/NotificationDisplay.qml')
| -rw-r--r-- | accounts/gkleen@sif/shell/quickshell/NotificationDisplay.qml | 8 |
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 | |||
| 9 | import Quickshell.Services.Notifications | 9 | import Quickshell.Services.Notifications |
| 10 | 10 | ||
| 11 | Scope { | 11 | Scope { |
| 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 | ||
