worked on QML and other minor details

This commit is contained in:
Tomas Rivera committed 2026-03-14 18:53:29 +01:00
1 parent 1525781f35
commit e513f4c797
14 files changed
+351 -16

No files matched your search

@@ -0,0 +1,31 @@
pragma Singleton
pragma ComponentBehavior: Bound
import QtQuick
import Quickshell
import Quickshell.Io
import "." as Notifs
Singleton {
id: root
PanelWindow {
id: window
visible: false
Notifs.NotificationCenterView {
id: notificationCenter
anchors.right: parent.right
}
}
IpcHandler {
target: "notifications"
function toggle() {
window.visible = !window.visible
if (window.visible)
notificationCenter.reload()
}
}
}