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 } 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 { Text {
id: calTitle id: calTitle
anchors.centerIn: parent anchors.horizontalCenter: parent.horizontalCenter
text: clockText.now.toLocaleDateString(Qt.locale(), "dddd, d MMMM yyyy") text: clockText.now.toLocaleDateString(Qt.locale(), "dddd, d MMMM yyyy")
color: Theme.base05 color: Theme.base05
font.family: "FiraMono Nerd Font" font.family: "FiraMono Nerd Font"
font.pixelSize: 16 font.pixelSize: 16
font.weight: Font.Medium 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 { Row {
id: weekdayRow id: weekdayRow
anchors.centerIn: parent anchors.horizontalCenter: parent.horizontalCenter
spacing: 0 spacing: 0
Repeater { Repeater {
model: ["Mo", "Tu", "We", "Th", "Fr", "Sa", "Su"] model: ["Mo", "Tu", "We", "Th", "Fr", "Sa", "Su"]
@ -1911,13 +1885,12 @@ in
width: 32 width: 32
horizontalAlignment: Text.AlignHCenter horizontalAlignment: Text.AlignHCenter
text: modelData text: modelData
color: Theme.base00 color: Theme.base04
font.family: "FiraMono Nerd Font" font.family: "FiraMono Nerd Font"
font.pixelSize: 13 font.pixelSize: 13
} }
} }
} }
}
Grid { Grid {
columns: 7 columns: 7
@ -1965,8 +1938,6 @@ in
} }
} }
} }
}
}
Rectangle { Rectangle {
width: 7 * 32 + 8 width: 7 * 32 + 8