From 617f7a19f335be9e975dd001e262794636a6716f Mon Sep 17 00:00:00 2001 From: ATDMA Date: Thu, 22 Jan 2026 04:21:54 -0500 Subject: controlcenter: fix desktop clock settings (#1114) Add missing desktop clock properties to serializeBackground() function: - desktopClock.scale - desktopClock.position - desktopClock.invertColors - desktopClock.background.enabled - desktopClock.background.opacity - desktopClock.background.blur - desktopClock.shadow.enabled - desktopClock.shadow.opacity - desktopClock.shadow.blur This fixes the issue where the desktop clock background enabled toggle (and other desktop clock settings) would not persist when the control center was reloaded. --- config/Config.qml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'config') diff --git a/config/Config.qml b/config/Config.qml index 10a2068..bebfe4d 100644 --- a/config/Config.qml +++ b/config/Config.qml @@ -149,7 +149,20 @@ Singleton { return { enabled: background.enabled, desktopClock: { - enabled: background.desktopClock.enabled + enabled: background.desktopClock.enabled, + scale: background.desktopClock.scale, + position: background.desktopClock.position, + invertColors: background.desktopClock.invertColors, + background: { + enabled: background.desktopClock.background.enabled, + opacity: background.desktopClock.background.opacity, + blur: background.desktopClock.background.blur + }, + shadow: { + enabled: background.desktopClock.shadow.enabled, + opacity: background.desktopClock.shadow.opacity, + blur: background.desktopClock.shadow.blur + } }, visualiser: { enabled: background.visualiser.enabled, -- cgit v1.2.3-freya