This commit is contained in:
Domipoke
2026-06-25 19:58:23 +02:00
parent 372c622025
commit 955801c666
147 changed files with 18829 additions and 0 deletions
@@ -0,0 +1,31 @@
import QtQuick
import Quickshell.Io
import qs.Commons
Item {
id: root
property var pluginApi: null
IpcHandler {
target: "plugin:workspace-overview"
function toggle() {
root.showOverview();
}
}
// This function will be exposed
function showOverview() {
Logger.i("Workspace Overview", "-> Received command to open the Overview");
if (pluginApi) {
pluginApi.withCurrentScreen(screen => {
pluginApi.togglePanel(screen);
});
}
}
Component.onCompleted: {
Logger.i("Workspace Overview", "-> [Main] Workspace Overview is ready and listening.");
}
}