session menu

This commit is contained in:
end-4
2025-04-21 21:14:01 +02:00
parent dfc0a53a5f
commit 99b9de9d5c
7 changed files with 381 additions and 10 deletions
@@ -78,7 +78,6 @@ Scope {
Keys.onPressed: (event) => {
if (event.key === Qt.Key_Escape) {
sidebarRoot.visible = false;
event.accepted = true; // Prevent further propagation of the event
}
}
@@ -108,10 +107,23 @@ Scope {
}
Item {
Layout.fillHeight: true
Layout.fillWidth: true
}
QuickToggleButton {
toggled: false
buttonIcon: "power_settings_new"
onClicked: {
openSessionMenu.running = true
}
Process {
id: openSessionMenu
command: ["qs", "ipc", "call", "session", "open"]
}
StyledToolTip {
content: "Session"
}
}
}
Rectangle {