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:
24
shell.qml
24
shell.qml
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user