From 996ad0ca8aa337051aca955a149be063396f732c Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Thu, 17 Sep 2026 14:39:09 +0200 Subject: fix(presentation): read a missing state file as off, not a warning statusctl no longer emits a down class, so the CSS rule for it and the dialog-warning entry in the icon check are dead. A missing file is the normal pre-write state, not a failure. --- modules/custom/presentation.jsonc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'modules/custom/presentation.jsonc') diff --git a/modules/custom/presentation.jsonc b/modules/custom/presentation.jsonc index 3843cb5..8544b26 100644 --- a/modules/custom/presentation.jsonc +++ b/modules/custom/presentation.jsonc @@ -1,14 +1,14 @@ // Presentation mode, the same module the DP-1 bar runs. // // `statusctl presentation watch` streams waybar JSON on every change: it -// already emits an empty text and a class of activated, deactivated or down, -// so the icon is chosen in CSS from that class and no format is needed here. -// Dropping format-icons is the whole difference from the DP-1 copy, which -// draws the same two states as Nerd Font glyphs. +// already emits an empty text and a class of activated or deactivated, so the +// icon is chosen in CSS from that class and no format is needed here. Dropping +// format-icons is the whole difference from the DP-1 copy, which draws the +// same two states as Nerd Font glyphs. // -// `down` means the state file is missing, which is not the same as off: the -// mode cannot be read at all. It gets its own icon rather than borrowing the -// off one, so a broken watcher does not read as a working bar. +// A missing state file reads as deactivated, not as a warning: that is the +// normal state before anything has written one, and a file cannot report +// whether a watcher is alive anyway. // // statusctl talks to files under XDG_RUNTIME_DIR rather than to quickshell, // so this keeps working while the shell is down. -- cgit v1.2.3