summaryrefslogtreecommitdiff
path: root/components/effects/Colouriser.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-14 16:25:46 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-14 16:25:46 +1000
commit04ce9ccbb4a1b4ee8ee1850f90af886412852b9f (patch)
treeaa2ebf44dc59b5bb56c6c0fd9557f7e82e71d1d4 /components/effects/Colouriser.qml
parentnix: extend `hm-module` for CLI config options and add `extraRuntimeDeps` to ... (diff)
downloadcaelestia-shell-04ce9ccbb4a1b4ee8ee1850f90af886412852b9f.tar.gz
caelestia-shell-04ce9ccbb4a1b4ee8ee1850f90af886412852b9f.tar.bz2
caelestia-shell-04ce9ccbb4a1b4ee8ee1850f90af886412852b9f.zip
internal: better colourisation
Diffstat (limited to 'components/effects/Colouriser.qml')
-rw-r--r--components/effects/Colouriser.qml4
1 files changed, 3 insertions, 1 deletions
diff --git a/components/effects/Colouriser.qml b/components/effects/Colouriser.qml
index b621ecd..bddf573 100644
--- a/components/effects/Colouriser.qml
+++ b/components/effects/Colouriser.qml
@@ -3,8 +3,10 @@ import QtQuick
import QtQuick.Effects
MultiEffect {
+ property color sourceColor: "black"
+
colorization: 1
- brightness: colorizationColor.hslLightness
+ brightness: 1 - sourceColor.hslLightness
Behavior on colorizationColor {
ColorAnimation {