Move process to root of powerbutton

This commit is contained in:
2025-09-27 21:36:26 -04:00
parent 78d96977f3
commit 22bfb00eb2

View File

@@ -11,17 +11,20 @@ Item {
height: parent.height height: parent.height
implicitWidth: parent.height implicitWidth: parent.height
MouseArea {
anchors.fill: parent
acceptedButtons: Qt.LeftButton
onPressed: (event) => {
powermenu.exec({});
}
Process { Process {
id: powermenu id: powermenu
running: false running: false
command: [ "wlogout" ] command: [ "wlogout" ]
} }
MouseArea {
anchors.fill: parent
acceptedButtons: Qt.LeftButton
onPressed: (event) => {
if (!powermenu.running){
powermenu.exec({});
}
}
} }
MaterialSymbol { MaterialSymbol {