quickshell: add background wrapper around weekday headers

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
rope 2026-05-27 11:21:01 +01:00
parent 269c9bbe15
commit 6e69f86f17

View file

@ -1902,18 +1902,27 @@ in
anchors.centerIn: parent
spacing: 4
Row {
spacing: 0
Repeater {
model: ["Mo", "Tu", "We", "Th", "Fr", "Sa", "Su"]
Text {
required property var modelData
width: 32
horizontalAlignment: Text.AlignHCenter
text: modelData
color: Theme.base03
font.family: "FiraMono Nerd Font"
font.pixelSize: 13
Rectangle {
width: 7 * 32
height: weekdayRow.height + 8
radius: 6
color: Theme.base02
Row {
id: weekdayRow
anchors.centerIn: parent
spacing: 0
Repeater {
model: ["Mo", "Tu", "We", "Th", "Fr", "Sa", "Su"]
Text {
required property var modelData
width: 32
horizontalAlignment: Text.AlignHCenter
text: modelData
color: Theme.base03
font.family: "FiraMono Nerd Font"
font.pixelSize: 13
}
}
}
}