summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorATDMA <atdma2600@gmail.com>2026-01-22 04:21:54 -0500
committerGitHub <noreply@github.com>2026-01-22 20:21:54 +1100
commit617f7a19f335be9e975dd001e262794636a6716f (patch)
tree3dbbd368f40f2dfb1f8e80f4fd073303c5fe1738
parentcontrolcenter: added VPN settings & management (#1095) (diff)
downloadcaelestia-shell-617f7a19f335be9e975dd001e262794636a6716f.tar.gz
caelestia-shell-617f7a19f335be9e975dd001e262794636a6716f.tar.bz2
caelestia-shell-617f7a19f335be9e975dd001e262794636a6716f.zip
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.
-rw-r--r--config/Config.qml15
1 files changed, 14 insertions, 1 deletions
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,