notif popup: fix undefined errors

This commit is contained in:
end-4
2025-05-22 14:29:08 +02:00
parent c96bef3d3c
commit 8815846fe0
@@ -16,12 +16,9 @@ Scope {
loading: true
PanelWindow {
id: root
visible: (columnLayout.children.length > 0 || notificationWidgetList.length > 0)
visible: (Notifications.popupList.length > 0)
screen: Quickshell.screens.find(s => s.name === Hyprland.focusedMonitor?.name)
property Component notifComponent: NotificationWidget {}
property list<NotificationWidget> notificationWidgetList: []
WlrLayershell.namespace: "quickshell:notificationPopup"
WlrLayershell.layer: WlrLayer.Overlay
exclusiveZone: 0