feat(app): wire the app icon into the GUI, waybar, and SDL window

screencast_icon/ holds the single source icon set; meson install ships
the 256 px PNG into the hicolor theme for the GTK panel (themed icon
name) and the waybar CSS, and a custom target embeds it as
icon_png_data.h so the SDL receiver window sets it via SDL_SetWindowIcon
with an optional SDL3_image dependency (built-in find_library, since no
pkg-config file ships with it).
This commit is contained in:
2026-09-10 11:30:39 +02:00
parent 9ff8e94679
commit 69a1cdac1d
21 changed files with 155 additions and 11 deletions
+7 -4
View File
@@ -76,10 +76,13 @@ screencast waybar # one JSON line for a waybar custom module
screencast waybar --toggle
```
The waybar module shows `▶` while streaming (tooltip: receiver, bitrate,
elapsed) and `⏸` while idle; left-click toggles streaming to the last
receiver, right-click opens the panel. All front-ends agree on state because
the sender publishes it to `$XDG_RUNTIME_DIR/screencast/sender.json`.
The waybar module shows the app icon (dimmed while idle, highlighted while
streaming; tooltip: receiver, bitrate, elapsed); left-click toggles
streaming to the last receiver, right-click opens the panel. All front-ends
agree on state because the sender publishes it to
`$XDG_RUNTIME_DIR/screencast/sender.json`. The icon (from `screencast_icon/`)
is installed into the hicolor theme by `meson install`, used by the GTK
panel and the waybar CSS, and embedded in the SDL receiver window.
## Under the hood: resilience