quickshell: remove calendar inner wrappers

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
rope 2026-05-27 12:25:17 +01:00
parent c928cd3ca4
commit 6af8e5e129

View file

@ -1864,45 +1864,19 @@ in
NumberAnimation { duration: 150; easing.type: Easing.OutCubic }
}
Rectangle {
width: 7 * 32 + 8
height: calTitle.height + 12
radius: 8
color: Theme.base02
anchors.horizontalCenter: parent.horizontalCenter
Text {
id: calTitle
anchors.centerIn: parent
anchors.horizontalCenter: parent.horizontalCenter
text: clockText.now.toLocaleDateString(Qt.locale(), "dddd, d MMMM yyyy")
color: Theme.base05
font.family: "FiraMono Nerd Font"
font.pixelSize: 16
font.weight: Font.Medium
}
}
Rectangle {
width: 7 * 32 + 8
height: calInner.height + 12
radius: 8
color: Theme.base02
anchors.horizontalCenter: parent.horizontalCenter
Column {
id: calInner
anchors.centerIn: parent
spacing: 4
Rectangle {
width: 7 * 32
height: weekdayRow.height + 8
radius: 6
color: Theme.base03
Row {
id: weekdayRow
anchors.centerIn: parent
anchors.horizontalCenter: parent.horizontalCenter
spacing: 0
Repeater {
model: ["Mo", "Tu", "We", "Th", "Fr", "Sa", "Su"]
@ -1911,13 +1885,12 @@ in
width: 32
horizontalAlignment: Text.AlignHCenter
text: modelData
color: Theme.base00
color: Theme.base04
font.family: "FiraMono Nerd Font"
font.pixelSize: 13
}
}
}
}
Grid {
columns: 7
@ -1965,8 +1938,6 @@ in
}
}
}
}
}
Rectangle {
width: 7 * 32 + 8