aboutsummaryrefslogtreecommitdiffstats
path: root/styles
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-17 14:39:09 +0200
committerDanilo M. <danix@danix.xyz>2026-09-17 14:39:09 +0200
commit996ad0ca8aa337051aca955a149be063396f732c (patch)
tree8e1c75ca1c9606daa008c79c6eb43da81ded7fc7 /styles
parent8fb1d0d9840a7e870d71ac902265199942fdf366 (diff)
downloadwaybar-theme-udt-996ad0ca8aa337051aca955a149be063396f732c.tar.gz
waybar-theme-udt-996ad0ca8aa337051aca955a149be063396f732c.zip
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.
Diffstat (limited to 'styles')
-rw-r--r--styles/modules.css12
1 files changed, 3 insertions, 9 deletions
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@");
-}