summaryrefslogtreecommitdiff
path: root/modules/controlcenter/appearance/AppearancePane.qml
diff options
context:
space:
mode:
authorEzekiel Gonzales <141341590+notsoeazy@users.noreply.github.com>2026-01-19 12:25:02 +0800
committerGitHub <noreply@github.com>2026-01-19 15:25:02 +1100
commit146aeb7e7402755da4c8b2d33f4309c7b5cb603e (patch)
treef363c7165b12ad0f2a4232f58f4497a720698a66 /modules/controlcenter/appearance/AppearancePane.qml
parent[CI] chore: update flake (diff)
downloadcaelestia-shell-146aeb7e7402755da4c8b2d33f4309c7b5cb603e.tar.gz
caelestia-shell-146aeb7e7402755da4c8b2d33f4309c7b5cb603e.tar.bz2
caelestia-shell-146aeb7e7402755da4c8b2d33f4309c7b5cb603e.zip
controlcenter: add desktopClock configurations (#1097)
* controlCenter: Added desktopClock configurations * fix dropdown overlay & animation --------- Co-authored-by: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>
Diffstat (limited to 'modules/controlcenter/appearance/AppearancePane.qml')
-rw-r--r--modules/controlcenter/appearance/AppearancePane.qml18
1 files changed, 18 insertions, 0 deletions
diff --git a/modules/controlcenter/appearance/AppearancePane.qml b/modules/controlcenter/appearance/AppearancePane.qml
index 257120b..218433b 100644
--- a/modules/controlcenter/appearance/AppearancePane.qml
+++ b/modules/controlcenter/appearance/AppearancePane.qml
@@ -38,6 +38,15 @@ Item {
property real borderThickness: Config.border.thickness ?? 1
property bool desktopClockEnabled: Config.background.desktopClock.enabled ?? false
+ property real desktopClockScale: Config.background.desktopClock.scale ?? 1
+ property string desktopClockPosition: Config.background.desktopClock.position ?? "bottom-right"
+ property bool desktopClockShadowEnabled: Config.background.desktopClock.shadow.enabled ?? true
+ property real desktopClockShadowOpacity: Config.background.desktopClock.shadow.opacity ?? 0.7
+ property real desktopClockShadowBlur: Config.background.desktopClock.shadow.blur ?? 0.4
+ property bool desktopClockBackgroundEnabled: Config.background.desktopClock.background.enabled ?? false
+ property real desktopClockBackgroundOpacity: Config.background.desktopClock.background.opacity ?? 0.7
+ property bool desktopClockBackgroundBlur: Config.background.desktopClock.background.blur ?? false
+ property bool desktopClockInvertColors: Config.background.desktopClock.invertColors ?? false
property bool backgroundEnabled: Config.background.enabled ?? true
property bool visualiserEnabled: Config.background.visualiser.enabled ?? false
property bool visualiserAutoHide: Config.background.visualiser.autoHide ?? true
@@ -64,6 +73,15 @@ Item {
Config.background.desktopClock.enabled = root.desktopClockEnabled;
Config.background.enabled = root.backgroundEnabled;
+ Config.background.desktopClock.scale = root.desktopClockScale
+ Config.background.desktopClock.position = root.desktopClockPosition
+ Config.background.desktopClock.shadow.enabled = root.desktopClockShadowEnabled
+ Config.background.desktopClock.shadow.opacity = root.desktopClockShadowOpacity
+ Config.background.desktopClock.shadow.blur = root.desktopClockShadowBlur
+ Config.background.desktopClock.background.enabled = root.desktopClockBackgroundEnabled
+ Config.background.desktopClock.background.opacity = root.desktopClockBackgroundOpacity
+ Config.background.desktopClock.background.blur = root.desktopClockBackgroundBlur
+ Config.background.desktopClock.invertColors = root.desktopClockInvertColors
Config.background.visualiser.enabled = root.visualiserEnabled;
Config.background.visualiser.autoHide = root.visualiserAutoHide;