notification daemon + center

This commit is contained in:
Zacharias-Brohn
2025-11-09 01:13:05 +01:00
parent 6d52325d89
commit 176b5c79b7
10 changed files with 956 additions and 254 deletions
+17 -1
View File
@@ -19,6 +19,12 @@ Scope {
property bool trayMenuVisible: false
screen: modelData
Process {
id: ncProcess
command: ["sh", "-c", "qs -p /home/zach/GitProjects/z-bar-qt/shell.qml ipc call root showCenter"]
running: false
}
anchors {
top: true
left: true
@@ -93,8 +99,18 @@ Scope {
Layout.alignment: Qt.AlignVCenter
}
SwayNC {
Text {
Layout.alignment: Qt.AlignVCenter
text: "\ue7f4"
font.family: "Material Symbols Rounded"
font.pixelSize: 22
color: "white"
MouseArea {
anchors.fill: parent
onClicked: {
ncProcess.running = true
}
}
}
}
}