aboutsummaryrefslogtreecommitdiffstats
path: root/bin/wb-icon
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-21 20:13:30 +0200
committerDanilo M. <danix@danix.xyz>2026-09-21 20:13:30 +0200
commitfbea0f687a80dca6135b22e1338dbe463096f7fb (patch)
tree39a65d6b0f85b9c995d3d0a35d07fc6ff1e1aadc /bin/wb-icon
parent996ad0ca8aa337051aca955a149be063396f732c (diff)
downloadwaybar-theme-udt-fbea0f687a80dca6135b22e1338dbe463096f7fb.tar.gz
waybar-theme-udt-fbea0f687a80dca6135b22e1338dbe463096f7fb.zip
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 <noreply@anthropic.com>
Diffstat (limited to 'bin/wb-icon')
-rwxr-xr-xbin/wb-icon1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/wb-icon b/bin/wb-icon
index b8bb098..ebbd57d 100755
--- a/bin/wb-icon
+++ b/bin/wb-icon
@@ -144,6 +144,7 @@ def selftest():
presentation_icons = [
"preferences-desktop-screensaver", # off
"x-office-presentation", # on
+ "input-gaming", # held on by a running game
]
mail_icons = ["mail-unread"]