From 729e89b4dce7e6f89a8a20cb919ad1b05d825d09 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Fri, 16 Oct 2026 14:11:25 +0200 Subject: feat(desktop): host the assistant canvas Inside the desktop process rather than its own shell: it needs no keepalive window of its own and restarts with the rest of the desktop. Co-Authored-By: Claude Haiku 5.5 --- desktop/shell.qml | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'desktop/shell.qml') diff --git a/desktop/shell.qml b/desktop/shell.qml index f1fb64e..a67234a 100644 --- a/desktop/shell.qml +++ b/desktop/shell.qml @@ -32,6 +32,7 @@ import "modules/updates" import "modules/user" import "modules/vm" import "island" +import "assistant" ShellRoot { // Quickshell exits once no window is visible, and the drawer is closed @@ -82,6 +83,10 @@ ShellRoot { drawer: drawer } + // The assistant canvas on SUPER+Home, a view over desktop-assistant's + // socket. See assistant/README.md. + Assistant { id: assistant } + // The waybar launcher and the deep-link keybinds all reach this: // qs -p ipc call drawer toggle -> the grid // qs -p ipc call drawer open mail -> the mail page @@ -96,4 +101,10 @@ ShellRoot { function toggle() { drawer.toggle(""); } function close() { drawer.close(); } } + + // qs -p ipc call assistant toggle -> SUPER+Home + IpcHandler { + target: "assistant" + function toggle() { assistant.toggle(); } + } } -- cgit v1.2.3