# c8-widgets

`c8tile` CLI and `c8-widget` live tile providers (clock, system, weather, media…) over D-Bus, + examples (`c8-charms-demo`, built not installed, when c8ui is there).
Depends on: gio, c8-base.

How live tiles work (the bus interface, templates, providers,
`.widget` files, `script.c`'s `Command=` tiles) is in
`desktop/shell/LIVE-TILES.md`; the interface itself in
`protocols/org.cont8nuum.Tiles1.xml`. `c8_tile_provider_watch`
and the rest of c8-base are in `toolkit/c8ui/base/CLAUDE.md`.

Stealth mode (`stealth.h`, c8-base): per widget, at content time, so a
flip (`c8_stealth_watch` in main.c resends if it changed) needs no
fetch: network's Wi-Fi name (`C8_STEALTH_WIFI`) and IPv4
(`C8_STEALTH_ADDRESS`), storage's path (`c8_stealth_show`), wttr.in's
nearest place (`C8_STEALTH_PLACE`), and a script's fields through
`c8_stealth_text` (keys with "image" in them left real: they are
paths). Interface names, clocks' zones, media titles aren't changed.
`c8tile` is a one-shot CLI and shows what it's given. Tested headless
on Start: network's address and storage's home path. Untested: an SSID
(the tile hides its label), the wttr.in place (likewise), scripts.
