wow numbers

This commit is contained in:
2026-06-23 13:54:38 +01:00
parent 2669f7e144
commit 26767ae588
4 changed files with 11 additions and 14 deletions

View File

@@ -16,7 +16,7 @@ Container {
required property HyprlandMonitor monitor
boxHeight: 25
boxWidth: 40
boxWidth: 200
exclusiveMonitor: monitor
defaultItem: WorkspaceContainer {

View File

@@ -1,4 +1,5 @@
import QtQuick
import QtQuick.Layouts
import Quickshell
import Quickshell.Hyprland
import "../../Components/"
@@ -9,21 +10,18 @@ Item {
required property HyprlandMonitor monitor
Row {
RowLayout {
anchors.fill: parent
Repeater {
model: WorkspaceManager.getWorkspacesForMonitor(root.monitor)
CenteredText {
text: console.log("some")
}
WorkspaceSelector {
required property HyprlandWorkspace modelData
// WorkspaceSelector {
// required property HyprlandWorkspace modelData
//
// workspace: modelData
// }
workspace: modelData
}
}
}
}

View File

@@ -9,9 +9,7 @@ Item {
required property HyprlandWorkspace workspace
Rectangle {
StyledText {
text: "some"
}
StyledText {
text: root.workspace.id
}
}

View File

@@ -17,6 +17,7 @@ Singleton {
}
}
}
return filteredWorkspaces;
}
function getWorkspacesForMonitor(monitor) {