diff options
| author | Danilo M. <danix@danix.xyz> | 2026-09-14 10:29:55 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-09-14 10:29:55 +0200 |
| commit | 8d9173c5928b1817cc7ee5ee5f06357e4fcb75bc (patch) | |
| tree | bea7f3237c7627e2ce953c91e6e742b8311527ac /docs | |
| parent | e91a3a17b625724e934b4985588f37b6904829c0 (diff) | |
| download | quickshell-8d9173c5928b1817cc7ee5ee5f06357e4fcb75bc.tar.gz quickshell-8d9173c5928b1817cc7ee5ee5f06357e4fcb75bc.zip | |
docs: settle the vm tile's cold state on drawer open
The vm module's service is lazy, so the tile had no state to show before its
page had been visited. One `virsh list` when the drawer opens fixes that for
the cost of a single call; the per-VM polling for guest-agent stats and
managed-save detection still waits for the page, which is where the expense
actually is.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01We9zcHEH8ZWHPcQwMaJRNv
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/superpowers/specs/2026-09-14-desktop-shell-design.md | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/superpowers/specs/2026-09-14-desktop-shell-design.md b/docs/superpowers/specs/2026-09-14-desktop-shell-design.md index d1a8b47..bbf973b 100644 --- a/docs/superpowers/specs/2026-09-14-desktop-shell-design.md +++ b/docs/superpowers/specs/2026-09-14-desktop-shell-design.md @@ -161,9 +161,10 @@ guest-agent-only, showing a dash rather than substituting libvirt's host-side numbers, which measure something else. The tile shows a status dot. Since the service sleeps while the page is closed, -the tile needs some state to show: either a neutral dot until the page has been -opened, or one cheap `virsh list` when the drawer opens rather than when the -page does. The latter is preferred and will be settled during implementation. +the tile needs some state to show, so the drawer opening triggers one `virsh +list` rather than waiting for the page. A tile that cannot say anything until +its page has been visited is a poor tile, and one list call is cheap; the +per-VM polling for stats and managed save still waits for the page. `vms_dots.sh` stays on waybar, unchanged and outside the shell, so nothing loses glanceable VM state when the in-shell service sleeps. |
