Compare commits
No commits in common. "23c70619d86c24fcc9f4ef86510983aa0c9ebc43" and "2bb7f6b8e789b5552889c902868f88cc6488b08b" have entirely different histories.
23c70619d8
...
2bb7f6b8e7
2 changed files with 11 additions and 14 deletions
|
|
@ -410,24 +410,10 @@ M.HoverPanel {
|
||||||
}
|
}
|
||||||
|
|
||||||
// ---- Individual notification ----
|
// ---- Individual notification ----
|
||||||
|
|
||||||
// Vertical connector line — visually ties notifs to their group header
|
|
||||||
Rectangle {
|
|
||||||
visible: notifDelegate._type === "notif"
|
|
||||||
anchors.left: parent.left
|
|
||||||
anchors.leftMargin: 3
|
|
||||||
anchors.top: parent.top
|
|
||||||
anchors.bottom: parent.bottom
|
|
||||||
width: 2
|
|
||||||
color: M.Theme.base02
|
|
||||||
radius: 1
|
|
||||||
}
|
|
||||||
|
|
||||||
M.NotifCard {
|
M.NotifCard {
|
||||||
id: _notifCard
|
id: _notifCard
|
||||||
visible: notifDelegate._type === "notif"
|
visible: notifDelegate._type === "notif"
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
anchors.leftMargin: 8
|
|
||||||
notif: notifDelegate._notif
|
notif: notifDelegate._notif
|
||||||
showAppName: false
|
showAppName: false
|
||||||
iconSize: 24
|
iconSize: 24
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
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
|
||||||
|
|
@ -49,6 +50,16 @@ 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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue