1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-06 05:25:41 -05:00

use variants for multi display volume popup/toast/notification

This commit is contained in:
bbedward
2025-07-26 16:24:35 -04:00
parent 01a94a17de
commit 1472f00f4b
4 changed files with 31 additions and 9 deletions

View File

@@ -50,8 +50,12 @@ ShellRoot {
id: notificationCenter
}
NotificationPopupManager {
id: notificationPopupManager
Variants {
model: Quickshell.screens
delegate: NotificationPopupManager {
modelData: item
}
}
ControlCenterPopout {
@@ -143,11 +147,19 @@ ShellRoot {
target: "processlist"
}
Toast {
id: toastWidget
Variants {
model: Quickshell.screens
delegate: Toast {
modelData: item
}
}
VolumePopup {
id: volumePopup
Variants {
model: Quickshell.screens
delegate: VolumePopup {
modelData: item
}
}
}