CompositorService: use idx for niri workspaces

This commit is contained in:
Ly-sec 2025-09-11 14:31:36 +02:00
parent baafe54d13
commit a029463527
3 changed files with 4 additions and 4 deletions

View file

@ -41,14 +41,14 @@ Rectangle {
implicitHeight: compactMode ? (timeText.implicitHeight + dateText.implicitHeight + Math.round(
Style.marginXS * scaling) + Math.round(Style.marginM * 2 * scaling)) : Math.round(
Style.capsuleHeight * scaling)
radius: Math.round(Style.radiusM * scaling)
radius: Math.round(implicitHeight / 2)
color: Color.mSurfaceVariant
// Clock with optional compact layout & attached calendar
Item {
id: clockContainer
anchors.fill: parent
anchors.margins: Math.round((compactMode ? Style.marginXS : Style.marginM) * scaling)
anchors.margins: 0
Column {
id: compactColumn