summaryrefslogtreecommitdiff
path: root/modules/bar/components
diff options
context:
space:
mode:
authorATMDA <atdma2600@gmail.com>2025-11-11 16:33:21 -0500
committerATMDA <atdma2600@gmail.com>2025-11-11 16:33:21 -0500
commit3e977f212d8c93f7dee96fafc871d33c0bbb922f (patch)
tree0aacda71c04dd4cb8db41b6302d628cb3d3b5c4e /modules/bar/components
parentcontrolcenter: removed debug info toggles (diff)
downloadcaelestia-shell-3e977f212d8c93f7dee96fafc871d33c0bbb922f.tar.gz
caelestia-shell-3e977f212d8c93f7dee96fafc871d33c0bbb922f.tar.bz2
caelestia-shell-3e977f212d8c93f7dee96fafc871d33c0bbb922f.zip
tray: if background enabled and empty, background is hidden
Diffstat (limited to 'modules/bar/components')
-rw-r--r--modules/bar/components/Tray.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/bar/components/Tray.qml b/modules/bar/components/Tray.qml
index efd0c3a..96956f6 100644
--- a/modules/bar/components/Tray.qml
+++ b/modules/bar/components/Tray.qml
@@ -30,7 +30,7 @@ StyledRect {
implicitWidth: Config.bar.sizes.innerWidth
implicitHeight: nonAnimHeight
- color: Qt.alpha(Colours.tPalette.m3surfaceContainer, Config.bar.tray.background ? Colours.tPalette.m3surfaceContainer.a : 0)
+ color: Qt.alpha(Colours.tPalette.m3surfaceContainer, (Config.bar.tray.background && items.count > 0) ? Colours.tPalette.m3surfaceContainer.a : 0)
radius: Appearance.rounding.full
Column {