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