Test
This commit is contained in:
@@ -3,10 +3,13 @@ import Quickshell
|
||||
import Quickshell.Hyprland
|
||||
import "./widgets"
|
||||
import "../../config"
|
||||
import "../notifications"
|
||||
|
||||
PanelWindow {
|
||||
id: panel
|
||||
|
||||
required property var manager
|
||||
|
||||
color: "transparent"
|
||||
|
||||
anchors.top: true
|
||||
@@ -47,6 +50,8 @@ PanelWindow {
|
||||
|
||||
WindowInfo {}
|
||||
|
||||
NotificationIndicator {manager: panel.manager}
|
||||
|
||||
}
|
||||
|
||||
Row { // bar widgets center
|
||||
|
||||
@@ -4,11 +4,14 @@ import Quickshell
|
||||
|
||||
Item {
|
||||
id: bar_root
|
||||
|
||||
required property var manager
|
||||
|
||||
Repeater { // Bars
|
||||
model: Quickshell.screens
|
||||
delegate: Loader {
|
||||
active: true // loads object
|
||||
sourceComponent: Bar {screen: modelData} // creates instance of bar component
|
||||
sourceComponent: Bar {screen: modelData; manager: root.manager} // creates instance of bar component
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user