From d4ca0f9805f54a53fcfd3172116e39eba74c6fb0 Mon Sep 17 00:00:00 2001 From: Damocles Date: Sun, 12 Apr 2026 22:53:11 +0200 Subject: [PATCH 1/3] window title: allow layout to shrink group when space is tight --- modules/Bar.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/Bar.qml b/modules/Bar.qml index fd59ff4..f9a4e76 100644 --- a/modules/Bar.qml +++ b/modules/Bar.qml @@ -138,6 +138,7 @@ PanelWindow { } } M.BarGroup { + Layout.minimumWidth: 0 clip: true M.WindowTitle { visible: M.Modules.windowTitle.enable From ba3c632d0771bcfc33ec1ee5a2ce1e2956eb57dc Mon Sep 17 00:00:00 2001 From: Damocles Date: Sun, 12 Apr 2026 22:58:38 +0200 Subject: [PATCH 2/3] background overlay: animated pulsing colon on clock --- modules/BackgroundOverlay.qml | 49 +++++++++++++++++++++++++++++------ 1 file changed, 41 insertions(+), 8 deletions(-) diff --git a/modules/BackgroundOverlay.qml b/modules/BackgroundOverlay.qml index b0bfa74..308366f 100644 --- a/modules/BackgroundOverlay.qml +++ b/modules/BackgroundOverlay.qml @@ -22,21 +22,54 @@ PanelWindow { SystemClock { id: clock - precision: SystemClock.Minutes + precision: SystemClock.Seconds } Column { anchors.centerIn: parent spacing: 8 - Text { + Row { anchors.horizontalCenter: parent.horizontalCenter - text: Qt.formatDateTime(clock.date, "HH:mm") - color: M.Theme.base05 - opacity: 0.7 - font.pixelSize: 72 - font.family: M.Theme.fontFamily - font.bold: true + + Text { + text: Qt.formatDateTime(clock.date, "HH") + color: M.Theme.base05 + opacity: 0.7 + font.pixelSize: 72 + font.family: M.Theme.fontFamily + font.bold: true + } + Text { + id: colon + text: ":" + color: M.Theme.base05 + font.pixelSize: 72 + font.family: M.Theme.fontFamily + font.bold: true + + SequentialAnimation on opacity { + loops: Animation.Infinite + NumberAnimation { + to: 0.1 + duration: 1000 + easing.type: Easing.InOutSine + } + NumberAnimation { + to: 0.7 + duration: 1000 + easing.type: Easing.InOutSine + } + } + } + Text { + text: Qt.formatDateTime(clock.date, "mm") + color: M.Theme.base05 + opacity: 0.7 + font.pixelSize: 72 + font.family: M.Theme.fontFamily + font.bold: true + } } Text { From bf40be76c5f09d149a9730eb99dd887edc238fe1 Mon Sep 17 00:00:00 2001 From: Damocles Date: Sun, 12 Apr 2026 22:59:58 +0200 Subject: [PATCH 3/3] background overlay: colon cycles through base16 colors --- modules/BackgroundOverlay.qml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/modules/BackgroundOverlay.qml b/modules/BackgroundOverlay.qml index 308366f..6a47233 100644 --- a/modules/BackgroundOverlay.qml +++ b/modules/BackgroundOverlay.qml @@ -43,19 +43,30 @@ PanelWindow { Text { id: colon text: ":" - color: M.Theme.base05 font.pixelSize: 72 font.family: M.Theme.fontFamily font.bold: true - SequentialAnimation on opacity { + property int _colorIdx: 0 + readonly property var _colors: [M.Theme.base08, M.Theme.base09, M.Theme.base0A, M.Theme.base0B, M.Theme.base0C, M.Theme.base0D, M.Theme.base0E, M.Theme.base05] + color: _colors[_colorIdx % _colors.length] + + SequentialAnimation { loops: Animation.Infinite + running: true NumberAnimation { + target: colon + property: "opacity" to: 0.1 duration: 1000 easing.type: Easing.InOutSine } + ScriptAction { + script: colon._colorIdx++ + } NumberAnimation { + target: colon + property: "opacity" to: 0.7 duration: 1000 easing.type: Easing.InOutSine