Watch
1
0
Fork
You've already forked souveraine
0

overview: viewtop has workspaces; the header said it did not

This commit is contained in:
Fimeg 2026-08-04 09:32:03 -04:00
commit 356cfc6462

View file

@ -5,10 +5,17 @@
// them by Hyprland coordinates `HyprlandData.windowList`, `monitorData`, // them by Hyprland coordinates `HyprlandData.windowList`, `monitorData`,
// `Hyprland.monitorFor`. Under viewtop none of that resolves: HyprlandData // `Hyprland.monitorFor`. Under viewtop none of that resolves: HyprlandData
// cannot parse a compositor that is not Hyprland (the shell logs exactly that // cannot parse a compositor that is not Hyprland (the shell logs exactly that
// on every refresh), and more fundamentally **viewtop has no workspaces at // on every refresh). So the old overview cannot be repaired by pointing it at a
// all**. There is one space and a tiling layout. So the old overview cannot be // different data source.
// repaired by pointing it at a different data source; the thing it draws does //
// not exist here. // This header used to add "and viewtop has no workspaces at all", written the
// same night `workspace.rs` landed. viewtop has them, and they are not
// Hyprland's: a *continuous* strip that grows when a window needs a room and
// shrinks when the last one leaves, read over the control socket as
// `{"op":"workspaces"}` count, active, and the float the strip is scrolled
// to. That is a thing this overview could draw and does not yet. What remains
// true is the original point: TASK-14 calls a grid of workspace thumbnails dead
// weight on a phone, so the cards are windows.
// //
// What does exist is windows, and the reference Flutter shell's overview is // What does exist is windows, and the reference Flutter shell's overview is
// built on exactly that: equal-sized cards, each holding a live texture of one // built on exactly that: equal-sized cards, each holding a live texture of one