feat(bar): doctor tripwire indicator (LATER item)
All checks were successful
Check / eval (push) Successful in 3m3s
All checks were successful
Check / eval (push) Successful in 3m3s
nomarchy-doctor-status: silent while nomarchy-doctor exits 0 (or is absent), so the module only exists when something is actually broken — then a red warning glyph with the first ✖ lines jq-escaped into the tooltip; clicking opens the full sheet (nomarchy-menu doctor). Interval 300s: the health check is real work (unit/disk/git sweeps), and this is a tripwire, not a monitor. Added to the generated bar (status group, after battery) and to BOTH summer whole-swap bars (module list + jsonc block + CSS membership + @red rule) per the parity rule. Verified: V0; V1 — template-home builds with the module in config + CSS, the status script passes bash -n, both summer jsonc still parse; functional — the self-gate exits silently, and a shimmed failing doctor yields jq-valid JSON with class "bad" and the ✖ lines in the tooltip. Live render queued for hardware. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -55,6 +55,7 @@ window#waybar {
|
||||
#custom-updates,
|
||||
#battery,
|
||||
#tray,
|
||||
#custom-doctor,
|
||||
#custom-notification,
|
||||
#custom-powermenu {
|
||||
background-color: @bg0;
|
||||
@@ -127,3 +128,8 @@ window#waybar {
|
||||
#custom-recording.recording {
|
||||
color: @red;
|
||||
}
|
||||
|
||||
/* Doctor tripwire: only rendered when something is broken. */
|
||||
#custom-doctor {
|
||||
color: @red;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user