mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-14 04:49:57 -05:00
notification list
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
import "root:/modules/common"
|
||||
import "root:/modules/common/widgets"
|
||||
import "root:/services"
|
||||
import QtQuick
|
||||
import QtQuick.Controls
|
||||
import QtQuick.Layouts
|
||||
import Quickshell.Widgets
|
||||
|
||||
Item {
|
||||
Flickable { // Scrollable window
|
||||
id: flickable
|
||||
anchors.fill: parent
|
||||
contentHeight: columnLayout.height
|
||||
clip: true
|
||||
|
||||
ColumnLayout { // Scrollable window content
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
id: columnLayout
|
||||
|
||||
Repeater {
|
||||
model: Notifications.list
|
||||
|
||||
delegate: NotificationWidget {
|
||||
notificationObject: modelData
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user