34 lines
696 B
QML
34 lines
696 B
QML
import qs.config
|
|
import qs.custom
|
|
import Quickshell
|
|
import Quickshell.Services.Notifications
|
|
import QtQuick
|
|
|
|
Item {
|
|
id: root
|
|
|
|
required property PersistentProperties uiState
|
|
required property Item panels
|
|
|
|
implicitHeight: content.implicitHeight
|
|
implicitWidth: content.implicitWidth
|
|
|
|
Background {
|
|
id: background
|
|
visible: false
|
|
wrapper: root
|
|
}
|
|
|
|
GlowEffect {
|
|
source: background
|
|
glowColor: content.notifs.find(n => n.urgency === NotificationUrgency.Critical) ?
|
|
Config.colors.error : Config.colors.notification
|
|
}
|
|
|
|
Content {
|
|
id: content
|
|
|
|
uiState: root.uiState
|
|
panels: root.panels
|
|
}
|
|
}
|