breadhelp 0.2.0: live guided tour overlay replacing static onboarding

Replaces the old in-window onboarding wizard with a real screen-wide
tour: dim + spotlight cutout around the actual on-screen component
(breadbar, breadbox), floating callout teaching the shortcut, and
event-driven confirmation via real Hyprland/breadd signals instead of
click-through fakery.
This commit is contained in:
Breadway 2026-07-15 18:48:10 +08:00
parent fea8f83204
commit 29b2445573
20 changed files with 1077 additions and 298 deletions

View file

@ -30,5 +30,13 @@ fn main() {
glib::ExitCode::SUCCESS
});
// Best-effort revert of a tour step's temporarily-rebound keybind (see
// `ui::tour`'s crash-safety notes) on a clean exit — `rebind_temp` is a
// detached fire-and-forget `hyprctl` spawn, so it still completes even
// though this process is exiting right after.
app.connect_shutdown(|_| {
ui::tour::self_heal();
});
app.run();
}