aboutsummaryrefslogtreecommitdiffstats
path: root/desktop/shell.qml
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-10-16 14:11:25 +0200
committerDanilo M. <danix@danix.xyz>2026-10-16 14:11:25 +0200
commit729e89b4dce7e6f89a8a20cb919ad1b05d825d09 (patch)
treee0f8666272b9bd36ead4ab19961907d8a4dfa46b /desktop/shell.qml
parentb7f33e54c93c5e3c764aa083c2f354fb8751e166 (diff)
downloadquickshell-729e89b4dce7e6f89a8a20cb919ad1b05d825d09.tar.gz
quickshell-729e89b4dce7e6f89a8a20cb919ad1b05d825d09.zip
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 <noreply@anthropic.com>
Diffstat (limited to 'desktop/shell.qml')
-rw-r--r--desktop/shell.qml11
1 files changed, 11 insertions, 0 deletions
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 <this dir> ipc call drawer toggle -> the grid
// qs -p <this dir> ipc call drawer open mail -> the mail page
@@ -96,4 +101,10 @@ ShellRoot {
function toggle() { drawer.toggle(""); }
function close() { drawer.close(); }
}
+
+ // qs -p <this dir> ipc call assistant toggle -> SUPER+Home
+ IpcHandler {
+ target: "assistant"
+ function toggle() { assistant.toggle(); }
+ }
}