From 8e7b012c4c3081ef6e44aa24eec877516f779248 Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Sat, 11 Oct 2025 11:18:32 +0200 Subject: [PATCH] fix am pm matching --- .../quickshell/ii/modules/background/cookieClock/TimeColumn.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/quickshell/ii/modules/background/cookieClock/TimeColumn.qml b/.config/quickshell/ii/modules/background/cookieClock/TimeColumn.qml index bdab277e5..c9fd3b4e0 100644 --- a/.config/quickshell/ii/modules/background/cookieClock/TimeColumn.qml +++ b/.config/quickshell/ii/modules/background/cookieClock/TimeColumn.qml @@ -22,7 +22,7 @@ Column { delegate: StyledText { required property string modelData property bool hourMarksEnabled: Config.options.background.clock.cookie.hourMarks - property bool isAmPm: !!modelData.match(/am|pm/i) + property bool isAmPm: !modelData.match(/\d{2}/i) property real numberSizeWithoutGlow: isAmPm ? 26 : 68 property real numberSizeWithGlow: isAmPm ? 10 : 40 property real numberSize: root.isEnabled ? (hourMarksEnabled ? numberSizeWithGlow : numberSizeWithoutGlow) : 100 // open/close animation