breadhelp/src
Breadway 8a1f019b42 breadhelp: add --screenshot CLI mode for automated capture
Three views ("home", "learn", "ask") — one per tab in the Home/Learn/Ask
Stack, switched via the same set_visible_child_name the tab switcher
itself uses, then captured as a full known-size canvas (the window is a
plain top-level, not layer-shell).

Plumbed through breadhelp's own cli::Action/parse() (three more fields,
same shape as force_onboard/autostart/suggest) rather than clap, matching
the app's existing non-clap idiom.

The HANDLES_COMMAND_LINE + thread_local HANDLE singleton architecture
needed one addition beyond the usual NON_UNIQUE-flag fix: every
invocation (including a --screenshot one) normally forwards to the
already-built window over D-Bus and reuses it — worse than the plain
GApplication case in the other apps, since here it's not just "message
the existing instance" but literally switching tabs on and re-capturing
the operator's real, live help-center window. NON_UNIQUE is now set
whenever --screenshot is present in argv (checked before the
Application is even built, since cli::parse() only runs per-invocation
inside connect_command_line).
2026-07-29 11:49:28 +08:00
..
content Onboard onto bakery: bakery.toml + dev/beta/release CI, relocate content paths 2026-07-23 10:10:30 +08:00
services Migrate config load/save to bread_utils::tomlcfg; timeout-guard hyprctl calls 2026-07-17 09:32:55 +08:00
ui breadhelp: add --screenshot CLI mode for automated capture 2026-07-29 11:49:28 +08:00
cli.rs breadhelp: add --screenshot CLI mode for automated capture 2026-07-29 11:49:28 +08:00
config.rs Migrate config load/save to bread_utils::tomlcfg; timeout-guard hyprctl calls 2026-07-17 09:32:55 +08:00
main.rs breadhelp: add --screenshot CLI mode for automated capture 2026-07-29 11:49:28 +08:00
screenshot.rs breadhelp: add --screenshot CLI mode for automated capture 2026-07-29 11:49:28 +08:00
theme.rs breadhelp 0.2.0: live guided tour overlay replacing static onboarding 2026-07-15 18:48:10 +08:00