diff options
| author | Ezekiel Gonzales <141341590+notsoeazy@users.noreply.github.com> | 2026-01-17 22:19:53 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-18 01:19:53 +1100 |
| commit | fd1165f1530b55c0751f8af7475d0c588b11488c (patch) | |
| tree | c62905f9ef4aab147be1768ae3f8f44c92e8bbe6 /config/BackgroundConfig.qml | |
| parent | launcher: add Settings action to open controlCenter (#1088) (diff) | |
| download | caelestia-shell-fd1165f1530b55c0751f8af7475d0c588b11488c.tar.gz caelestia-shell-fd1165f1530b55c0751f8af7475d0c588b11488c.tar.bz2 caelestia-shell-fd1165f1530b55c0751f8af7475d0c588b11488c.zip | |
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
Diffstat (limited to 'config/BackgroundConfig.qml')
| -rw-r--r-- | config/BackgroundConfig.qml | 17 |
1 files changed, 17 insertions, 0 deletions
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 { |