From 6e69f86f1748e56f560cb091a46be3dc7f8b244f Mon Sep 17 00:00:00 2001 From: rope Date: Wed, 27 May 2026 11:21:01 +0100 Subject: [PATCH] quickshell: add background wrapper around weekday headers Co-Authored-By: Claude Opus 4.6 --- settings/hyprland.nix | 33 +++++++++++++++++++++------------ 1 file changed, 21 insertions(+), 12 deletions(-) diff --git a/settings/hyprland.nix b/settings/hyprland.nix index 232f819..81a8d94 100644 --- a/settings/hyprland.nix +++ b/settings/hyprland.nix @@ -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 + } } } }