From fd1165f1530b55c0751f8af7475d0c588b11488c Mon Sep 17 00:00:00 2001 From: Ezekiel Gonzales <141341590+notsoeazy@users.noreply.github.com> Date: Sat, 17 Jan 2026 22:19:53 +0800 Subject: background: redesign desktop clock and allow positioning (#1092) * background(desktop clock): Redesigned the Desktop Clock and allow positioning and scaling * desktopClock: initial fix for contrast and added debug tool * fix properties * fix BackgroundConfig.qml for desktopClock * removed debugging tool and applied maintainer suggestions * added invert colors, opacity, and fix positioning * added blur, fix layout, allow invert colors * added implicitWidth behavior and small change --- config/BackgroundConfig.qml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'config/BackgroundConfig.qml') diff --git a/config/BackgroundConfig.qml b/config/BackgroundConfig.qml index ec6b299..b8a8ad9 100644 --- a/config/BackgroundConfig.qml +++ b/config/BackgroundConfig.qml @@ -7,6 +7,23 @@ JsonObject { component DesktopClock: JsonObject { property bool enabled: false + property real scale: 1.0 + property string position: "bottom-right" + property bool invertColors: false + property DesktopClockBackground background: DesktopClockBackground {} + property DesktopClockShadow shadow: DesktopClockShadow {} + } + + component DesktopClockBackground: JsonObject { + property bool enabled: false + property real opacity: 0.7 + property bool blur: true + } + + component DesktopClockShadow: JsonObject { + property bool enabled: true + property real opacity: 0.7 + property real blur: 0.4 } component Visualiser: JsonObject { -- cgit v1.2.3-freya