From fbea0f687a80dca6135b22e1338dbe463096f7fb Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Mon, 21 Sep 2026 20:13:30 +0200 Subject: feat(presentation): draw a running game as its own state The module emits a third class, gaming, when the shell's game detector holds presentation on. It gets its own icon rather than sharing the presentation one: the click is inert in that state, so the pill has to say why the mode is on and that clicking will not turn it off. The icon joins wb-icon's selftest, which is what makes an icon theme missing it fail at install time instead of rendering an empty pill. Co-Authored-By: Claude Opus 5 --- styles/modules.css | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'styles') diff --git a/styles/modules.css b/styles/modules.css index 3aa55c6..b0e2f2a 100644 --- a/styles/modules.css +++ b/styles/modules.css @@ -246,3 +246,10 @@ #custom-presentation.activated { background-image: url("@ICON:x-office-presentation@"); } + +/* A running game holds presentation on by itself, through a separate state + * file the shell's detector owns. It gets its own icon because the click is + * inert here: the mode is not off until the game exits. */ +#custom-presentation.gaming { + background-image: url("@ICON:input-gaming@"); +} -- cgit v1.2.3