File: bench, Node: COCKPIT-1, Next: SNOW-1, Prev: UPLINK-1, Up: Projects

COCKPIT-1: The laptop screen as a cockpit: dials and suchi in one panel, one set of readings

Size: W · Needs first: — · Done when: with an external monitor connected and on AC, the laptop screen shows the dials and suchi without anything being opened, and bin/hud draws from the same readings as the bar

Parked 2026-11-13: an idea to come back to, not today's work.

Next step

Make one source of readings. Today ~/dotfiles/bin/hud (Python) repeats the sysfs/procfs reads that ~/dotfiles/quickshell/shell.qml already takes on its 2-second tick. Choose who owns them: Quickshell (it already reads them) or misra (it already writes /run/misra/state.json). Have that one write a state file, and point hud at it. Nothing on screen changes yet, but it's the step everything else rests on.

Parts

Software only; nothing to buy.

Ideas (2026-11-13)

With an external monitor connected, the laptop screen sits mostly empty beside it. Three views of the same machine could share it:

Layout: dials on top, suchi below, on a Quickshell layer pinned to the laptop output (eDP-1). Not a window: no focus, not in Alt+Tab, stays put across workspaces. It shows only while an external monitor is connected and the lid is open, and goes away on unplug.

Battery: the dropdown reads the GPU and NPU memory only while it's open. Pinned, those reads would run all the time, so pin only on AC, with a key to show or hide it (Super+Shift+T, beside Super+T for the bar's autohide).

When to show it and what each part reads ("external monitor, lid open, on AC → cockpit") is a small rule set; could live with misra's clingo rules if misra ends up owning the readings.

Ideas (2026-11-14): the cluster in jantar's layout

The dropdown now opens from a key (qs ipc call stats toggle, the Keychron Q11's M1) and stays open until pressed again. It has drifted from jantar (VT12), which shares its palette and polar dials:

jantar stats dropdown
Shape three rows of sections, 2-3 dials each two columns of single dials
Order CPU (CPU, LOAD) · GPU · THERMALS (TEMP, CLOCK, FAN) / NPU (NPU, DMA) · POWER (POWER, CHIP, PORTS) / MEMORY · STORAGE (MEM, SWAP, DISK) · LINKS (WIFI, NET, LINK) WIFI, NETWORK, MEMORY, NPU, CI RUNNER / CPU, THERMALS, BATTERY, GPU
Only in jantar LOAD, FAN, NPU DMA, CHIP, PORTS, SWAP, DISK, LINK
Names LINKS, POWER, NET NETWORK, BATTERY

Give the cluster jantar's section order and names, as rows in a wider panel; add the missing dials later, each with its own reader. jantar's CI footer and the dropdown's CI RUNNER are the same thing. If the cockpit's one source of readings (Next step) comes first, the extra dials cost little. M1 jumping to VT12 instead would give jantar itself, but Hyprland once failed to take the display back from VT10/11.

Learned

Sessions (newest first)