diff options
| author | 八奈見 レイ <rei.tteiimasu@gmail.com> | 2026-03-15 13:02:32 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-15 18:32:32 +1100 |
| commit | e3048464218d065aac3d5a2f3a8c307968555118 (patch) | |
| tree | 0fe127a61a147db69ab4bfa33aebefce55ea682d /modules | |
| parent | media: hide person icon if user pfp is ready (#1213) (diff) | |
| download | caelestia-shell-e3048464218d065aac3d5a2f3a8c307968555118.tar.gz caelestia-shell-e3048464218d065aac3d5a2f3a8c307968555118.tar.bz2 caelestia-shell-e3048464218d065aac3d5a2f3a8c307968555118.zip | |
config: add option to hide notifications on lockscreen (#1211)
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/lock/NotifDock.qml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/lock/NotifDock.qml b/modules/lock/NotifDock.qml index 01f7e4b..cce86cd 100644 --- a/modules/lock/NotifDock.qml +++ b/modules/lock/NotifDock.qml @@ -41,7 +41,7 @@ ColumnLayout { Loader { anchors.centerIn: parent active: opacity > 0 - opacity: Notifs.list.length > 0 ? 0 : 1 + opacity: Notifs.list.length > 0 && !Config.lock.hideNotifs ? 0 : 1 sourceComponent: ColumnLayout { spacing: Appearance.spacing.large @@ -61,7 +61,7 @@ ColumnLayout { StyledText { Layout.alignment: Qt.AlignHCenter - text: qsTr("No Notifications") + text: Config.lock.hideNotifs ? qsTr("Unlock for Notifications") : qsTr("No Notifications") color: Colours.palette.m3outlineVariant font.pointSize: Appearance.font.size.large font.family: Appearance.font.family.mono @@ -78,7 +78,7 @@ ColumnLayout { StyledListView { anchors.fill: parent - + visible: !Config.lock.hideNotifs spacing: Appearance.spacing.small clip: true |