Compare commits
2 commits
2bb7f6b8e7
...
23c70619d8
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
23c70619d8 | ||
|
|
7f0df9eb47 |
2 changed files with 14 additions and 11 deletions
|
|
@ -410,10 +410,24 @@ 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,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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue