summaryrefslogtreecommitdiff
path: root/services
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-09 00:13:48 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-09 00:13:48 +1000
commit88a3f09de553e11985f12ecaf40f334fad729ab9 (patch)
tree71d0a1ff00b54ed61e50cafcab8617173b8bc0ad /services
parentpaths: better to string (diff)
downloadcaelestia-shell-88a3f09de553e11985f12ecaf40f334fad729ab9.tar.gz
caelestia-shell-88a3f09de553e11985f12ecaf40f334fad729ab9.tar.bz2
caelestia-shell-88a3f09de553e11985f12ecaf40f334fad729ab9.zip
config: make appearance configurable
Diffstat (limited to 'services')
-rw-r--r--services/Colours.qml7
1 files changed, 4 insertions, 3 deletions
diff --git a/services/Colours.qml b/services/Colours.qml
index aef2da3..eab898e 100644
--- a/services/Colours.qml
+++ b/services/Colours.qml
@@ -1,6 +1,7 @@
pragma Singleton
pragma ComponentBehavior: Bound
+import qs.config
import qs.utils
import Quickshell
import Quickshell.Io
@@ -93,9 +94,9 @@ Singleton {
}
component Transparency: QtObject {
- property bool enabled: false
- property real base: 0.8
- property real layers: 0.4
+ readonly property bool enabled: Appearance.transparency.enabled
+ readonly property real base: Appearance.transparency.base - (root.light ? 0.1 : 0)
+ readonly property real layers: Appearance.transparency.layers
}
component M3TPalette: QtObject {