notifpopup: remove critical glow drop shadow

This commit is contained in:
Damocles 2026-04-17 10:43:10 +02:00
parent 2bb7f6b8e7
commit 7f0df9eb47

View file

@ -1,5 +1,4 @@
import QtQuick import QtQuick
import QtQuick.Effects
import Quickshell import Quickshell
import Quickshell.Wayland import Quickshell.Wayland
import Quickshell.Services.Notifications import Quickshell.Services.Notifications
@ -50,16 +49,6 @@ PanelWindow {
readonly property real _targetHeight: _card.implicitHeight readonly property real _targetHeight: _card.implicitHeight
property real _heightScale: 0 property real _heightScale: 0
// Glow on critical layer effect composites everything including NotifCard
layer.enabled: popupItem.modelData.urgency === NotificationUrgency.Critical
layer.effect: MultiEffect {
shadowEnabled: true
shadowColor: M.Theme.base08
shadowBlur: 0.6
shadowVerticalOffset: 0
shadowHorizontalOffset: 0
}
M.NotifCard { M.NotifCard {
id: _card id: _card
anchors.fill: parent anchors.fill: parent