some items
This commit is contained in:
29
Bar/Left/WorkspaceContainer.qml
Normal file
29
Bar/Left/WorkspaceContainer.qml
Normal file
@@ -0,0 +1,29 @@
|
||||
import QtQuick
|
||||
import Quickshell
|
||||
import Quickshell.Hyprland
|
||||
import "../../Components/"
|
||||
import "../../Services/"
|
||||
|
||||
Item {
|
||||
id: root
|
||||
|
||||
required property HyprlandMonitor monitor
|
||||
|
||||
Row {
|
||||
anchors.fill: parent
|
||||
|
||||
Repeater {
|
||||
model: WorkspaceManager.getWorkspacesForMonitor(root.monitor)
|
||||
|
||||
CenteredText {
|
||||
text: console.log("some")
|
||||
}
|
||||
|
||||
// WorkspaceSelector {
|
||||
// required property HyprlandWorkspace modelData
|
||||
//
|
||||
// workspace: modelData
|
||||
// }
|
||||
}
|
||||
}
|
||||
}
|
||||
17
Bar/Left/WorkspaceSelector.qml
Normal file
17
Bar/Left/WorkspaceSelector.qml
Normal file
@@ -0,0 +1,17 @@
|
||||
import QtQuick
|
||||
import Quickshell
|
||||
import Quickshell.Hyprland
|
||||
import "../../Components/"
|
||||
import "../../Services/"
|
||||
|
||||
Item {
|
||||
id: root
|
||||
|
||||
required property HyprlandWorkspace workspace
|
||||
|
||||
Rectangle {
|
||||
StyledText {
|
||||
text: "some"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user