feat: add notification module with functionality to display notifications on focused monitor with a NotificationServer as Singleton
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
import QtQuick
|
||||
import Quickshell
|
||||
import "./notificationServer"
|
||||
|
||||
|
||||
Item {
|
||||
id: notification_root
|
||||
Repeater { // Bars
|
||||
model: Quickshell.screens
|
||||
delegate: Loader {
|
||||
active: true // loads object
|
||||
sourceComponent: Notification {screen: modelData} // creates instance of bar component
|
||||
}
|
||||
}
|
||||
|
||||
Component.onCompleted: {
|
||||
console.log("[NotificationLoader]:", NotificationS)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user