diff options
| author | ATMDA <atdma2600@gmail.com> | 2025-11-11 16:33:21 -0500 |
|---|---|---|
| committer | ATMDA <atdma2600@gmail.com> | 2025-11-11 16:33:21 -0500 |
| commit | 3e977f212d8c93f7dee96fafc871d33c0bbb922f (patch) | |
| tree | 0aacda71c04dd4cb8db41b6302d628cb3d3b5c4e /modules/bar | |
| parent | controlcenter: removed debug info toggles (diff) | |
| download | caelestia-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')
| -rw-r--r-- | modules/bar/components/Tray.qml | 2 |
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 { |