diff options
Diffstat (limited to 'desktop')
| -rw-r--r-- | desktop/shell.qml | 11 |
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(); } + } } |
