diff options
Diffstat (limited to 'desktop/shell.qml')
| -rw-r--r-- | desktop/shell.qml | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/desktop/shell.qml b/desktop/shell.qml index ec58936..ea2ce67 100644 --- a/desktop/shell.qml +++ b/desktop/shell.qml @@ -81,7 +81,7 @@ ShellRoot { SunsetModule {}, IdleModule {}, AutostartModule {}, - AssistantModule {}, + AssistantModule { id: asstSettings }, PresetsModule {}, GitModule {}, ] @@ -109,7 +109,14 @@ ShellRoot { // The assistant canvas on SUPER+Home, a view over desktop-assistant's // socket. See assistant/README.md. - Assistant { id: assistant } + Assistant { id: assistant; swapping: asstSettings.loading } + + // Opening the assistant loads its preferred model if another one is in + // VRAM. See modules/assistant/README.md. + Connections { + target: assistant + function onOpenChanged() { if (assistant.open) asstSettings.ensurePreferred(); } + } // The waybar launcher and the deep-link keybinds all reach this: // qs -p <this dir> ipc call drawer toggle -> the grid |
