Extract bos-settings to its own repo; add breadhelp; JSON-driven Hyprland config

bos-settings moves to git.breadway.dev/Breadway/bos-settings (full history
preserved via git-filter-repo) so its release cadence is decoupled from
BOS's own. breadhelp takes its place as this repo's workspace member: a
GTK4 onboarding/help center replacing the old bos-welcome/bos-keybinds
bash scripts with searchable guides, an interactive keybind viewer
(sourced from the new keybinds.toml, not parsed out of hyprland.lua or
hardcoded), a troubleshooting wizard with one-click fixes, and a proper
first-run tour. bos-netcheck extracts bos-welcome's network-check half,
which still needs to run every login independent of breadhelp's own
first-run gating.

hyprland.lua's keybinds/settings/monitors/autostart are now JSON-driven
(binds.json/settings.json/monitors.json/autostart.json) with every
loader pcall-wrapped and falling back to hardcoded defaults per field on
bad or missing config, so bread* apps (bos-settings' new editors, and
breadhelp's keybind viewer) can read/write this config without ever
being able to leave the compositor unable to start.

CI's package.yml now builds breadhelp instead of bos-settings on tag
push; bos-settings needs its own equivalent workflow in its new repo
(not yet set up).
This commit is contained in:
Breadway 2026-07-05 09:16:14 +08:00
parent 434efcea22
commit 664298b6b4
105 changed files with 3280 additions and 5149 deletions

View file

@ -0,0 +1,16 @@
-- breadhelp-suggest — nudge breadhelp's Home tab banner when a bread event
-- suggests a relevant guide (e.g. a newly connected monitor -> breadmon
-- setup). Auto-discovered by breadd. If breadhelp isn't already running,
-- `--suggest <id>` launches it straight to Home with the banner focused; if
-- it's already running, the banner just updates silently (see
-- breadhelp's services/breadd.rs) rather than stealing focus on every event.
local M = bread.module({ name = "breadhelp-suggest", version = "1.0.0" })
function M.on_load()
bread.on("bread.monitor.connected", function(event)
bread.exec("breadhelp --suggest monitor-setup")
end)
end
return M