Status bar

This commit is contained in:
2026-02-18 18:45:37 -08:00
parent 17d856a3e3
commit ea9f96dab7
5 changed files with 269 additions and 1 deletions

30
Workspaces.qml Normal file
View File

@@ -0,0 +1,30 @@
import QtQuick
import QtQuick.Shapes
import Quickshell.Hyprland
Row {
Repeater {
model: 9
delegate: Shape {
height: 14
width: 24
property var workspace: Hyprland.workspaces.values.find(ws => ws.id === modelData)
preferredRendererType: Shape.CurveRenderer
anchors.verticalCenter: parent.verticalCenter
ShapePath {
strokeWidth: workspace ? 12 : 4
strokeColor: "white"
fillColor: "transparent"
PathAngleArc {
moveToStart: true
centerX: width/2
centerY: height/2
startAngle: 0
sweepAngle: 360
radiusX: workspace ? 2 : 6
radiusY: radiusX
}
}
}
}
}