Change name of root id to root everywhere

This commit is contained in:
2025-10-13 14:35:32 -03:00
parent e4087938a5
commit 23eb623fae
13 changed files with 48 additions and 46 deletions

View File

@@ -5,7 +5,7 @@ import Quickshell.Widgets
import qs.Common
WrapperRectangle {
id: barArea
id: root
property var monitor: "DP-1"
property var components: [] // Add this new property
@@ -16,14 +16,14 @@ WrapperRectangle {
RowLayout {
Repeater {
model: barArea.components
model: root.components
delegate: Loader {
required property var modelData
// The source of the loader is the component from the model
source: modelData
onLoaded: {
item.monitor = barArea.monitor;
item.monitor = root.monitor;
}
}
}