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. --- styles/modules.css | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'styles') diff --git a/styles/modules.css b/styles/modules.css index b6fd38d..3aa55c6 100644 --- a/styles/modules.css +++ b/styles/modules.css @@ -227,11 +227,9 @@ } /* Presentation mode. statusctl emits the state as a class and an empty text, - * so the icon is chosen here rather than by a format string. - * - * `down` is not `off`: the state file is missing, so the mode cannot be read - * at all. It draws a warning rather than the off icon, because a watcher that - * has died should not look like a mode that is simply not on. */ + * so the icon is chosen here rather than by a format string. A missing state + * file reads as deactivated: it is the normal state before anything has + * written one, not a failure. */ #custom-presentation { background-repeat: no-repeat; background-position: center; @@ -248,7 +246,3 @@ #custom-presentation.activated { background-image: url("@ICON:x-office-presentation@"); } - -#custom-presentation.down { - background-image: url("@ICON:dialog-warning@"); -} -- cgit v1.2.3