summaryrefslogtreecommitdiff
path: root/modules/lock/NotifDock.qml
diff options
context:
space:
mode:
authorATMDA <atdma2600@gmail.com>2025-11-12 14:51:22 -0500
committerATMDA <atdma2600@gmail.com>2025-11-12 14:51:22 -0500
commitc1510b547645de5e8f70f6be99a0ba894b797241 (patch)
treece67826496f6530ef0ad09482f28ffc85c79eb51 /modules/lock/NotifDock.qml
parenttray: if background enabled and empty, background is hidden (diff)
downloadcaelestia-shell-c1510b547645de5e8f70f6be99a0ba894b797241.tar.gz
caelestia-shell-c1510b547645de5e8f70f6be99a0ba894b797241.tar.bz2
caelestia-shell-c1510b547645de5e8f70f6be99a0ba894b797241.zip
notifs/toasts: reworked notifications and toasts and how they display and work together. see pull request comment.
Diffstat (limited to 'modules/lock/NotifDock.qml')
-rw-r--r--modules/lock/NotifDock.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/lock/NotifDock.qml b/modules/lock/NotifDock.qml
index 7551e68..db087bd 100644
--- a/modules/lock/NotifDock.qml
+++ b/modules/lock/NotifDock.qml
@@ -22,7 +22,7 @@ ColumnLayout {
StyledText {
Layout.fillWidth: true
- text: Notifs.list.length > 0 ? qsTr("%1 notification%2").arg(Notifs.list.length).arg(Notifs.list.length === 1 ? "" : "s") : qsTr("Notifications")
+ text: Notifs.notClosed.length > 0 ? qsTr("%1 notification%2").arg(Notifs.notClosed.length).arg(Notifs.notClosed.length === 1 ? "" : "s") : qsTr("Notifications")
color: Colours.palette.m3outline
font.family: Appearance.font.family.mono
font.weight: 500
@@ -42,7 +42,7 @@ ColumnLayout {
anchors.centerIn: parent
asynchronous: true
active: opacity > 0
- opacity: Notifs.list.length > 0 ? 0 : 1
+ opacity: Notifs.notClosed.length > 0 ? 0 : 1
sourceComponent: ColumnLayout {
spacing: Appearance.spacing.large