No description
  • Rust 67.9%
  • CSS 18.1%
  • Shell 11.7%
  • Python 2.2%
Find a file
2026-11-25 12:50:46 +08:00
.forgejo/workflows releases: record BOS 0.6.3 force-promotion overrides 2026-11-11 13:57:02 +08:00
bakery Merge pull request 'docs(bakery): drop hermes from the user-local prefix notes' (#57) from fix/bakery-drop-hermes-refs into main 2026-10-02 12:06:27 +08:00
bread-app docs: remove em dashes from code and docs 2026-09-07 09:14:18 +08:00
bread-capture bread-theme: add spotlight pill and stage theme support 2026-09-30 01:57:19 +08:00
bread-launcher style: cargo fmt --all 2026-09-11 11:32:59 +08:00
bread-onnx style: cargo fmt --all 2026-09-11 11:32:59 +08:00
bread-palette-extract fix(bread-palette-extract): fail hard on over-budget JPEGs instead of falling back 2026-09-29 08:27:23 +08:00
bread-polkit style: cargo fmt --all 2026-09-11 11:32:59 +08:00
bread-screenshots fix(screenshots): clean up timed out captures 2026-10-01 16:46:29 +08:00
bread-theme Merge pull request 'Bound GTK subtree observers during launcher searches' (#52) from fix/box-8-subtree-watch-growth into main 2026-10-02 12:06:33 +08:00
bread-utils style(bread-utils): rustfmt the FIFO regression test 2026-11-06 21:02:55 +08:00
ci Merge remote-tracking branch 'origin/main' into fix/ci-copy-release-artifacts 2026-11-06 21:33:32 +08:00
docs releases: record deliberate gate overrides (ECO-93) 2026-11-11 13:26:39 +08:00
packaging/arch docs: remove em dashes from dotfiles and packaging comments 2026-09-09 12:43:36 +08:00
promotion-overrides releases: point bakery and bread-theme overrides at their tag commit 2026-11-11 20:59:25 +08:00
registry Register crustd as a bakery product 2026-11-22 21:01:39 +08:00
scripts gen-index: merge one package into the published index 2026-11-25 12:50:35 +08:00
.git-blame-ignore-revs ci: gate cargo fmt --check in check.yml 2026-09-11 11:33:23 +08:00
.gitignore ci: validate and lease the host target cache 2026-11-06 14:20:38 +08:00
AGENTS.md ci: build dev track and PR checks against dependency main, keep releases on tag pins 2026-09-26 22:32:44 +08:00
bakery.toml fix: comprehensive bakery package manager audit and repair 2026-06-11 13:37:09 +08:00
BREAD_DESIGN_SYSTEM.md refactor(bread-theme): split palette extractor into bread-palette-extract, cap decode allocations 2026-09-29 08:27:23 +08:00
Cargo.lock chore: bump version to 0.8.2 2026-11-11 13:42:40 +08:00
Cargo.toml chore: bump version to 0.8.2 2026-11-11 13:42:40 +08:00
CONTRIBUTING.md releases: record deliberate gate overrides (ECO-93) 2026-11-11 13:26:39 +08:00
LICENSE Add push-mirror provisioning, bread_client, README/identity fixes; bump to 0.3.0 2026-07-19 03:07:40 +08:00
README.md Register crustd as a bakery product 2026-11-22 21:01:39 +08:00
upgrade.md docs(bread-theme): drop pywal from packaging and docs 2026-09-29 08:26:58 +08:00

Bread Ecosystem

A collection of Rust tools for the Linux desktop (Hyprland / Wayland / Arch). Install any product with a single command, no Rust toolchain required.

curl -fsSL https://get.breadway.dev | sh
bakery install breadbar

Products

The table below is generated from registry/bread-ecosystem.toml. Regenerate with scripts/gen-readme-products.sh.

Package Description
bakery Bread ecosystem package manager
bread-theme Shared native-accent, fixed-dark-base theming CLI for the bread ecosystem
bread Reactive automation daemon and CLI for Linux desktops
breadbar Minimal status bar and notification daemon for Hyprland
breadbox App launcher for Hyprland / Wayland
breadcrumbs Profile-aware Wi-Fi state machine with Tailscale integration
breadpad Quick-capture scratchpad and note viewer with AI classification
breadpaper Wallpaper manager for the bread desktop
breadsearch Semantic system-wide search for BOS
breadram Memory management daemon and CLI for the bread desktop (Bakery product; not included in the BOS ISO)
breadclip Wayland clipboard history manager for Hyprland
breadshot Screenshot utility for the bread ecosystem
bos-settings System settings app for Bread OS
egress-gui Private networking desktop app for egress (Desktop client; the egress daemon is installed and enrolled separately)
breadhelp Onboarding and help center for Bread OS
breadcast Cast your screen to any Chromecast/Google TV or DLNA renderer: daemon + GTK4 popup (Bakery product; not included in the BOS ISO)
breadarr Single-daemon Sonarr+Radarr+Prowlarr replacement: release watching, matching, grabbing, importing, and a terminal UI, no web UI (Homelab, not shipped on BOS)
breadboard-cli Command line and terminal UI for breadboard (Client package, not included in the BOS ISO)
breadboard-desktop Native desktop shell for breadboard (Client package, not included in the BOS ISO)
crustd Tiered, power-efficient presence detection daemon for Bread (Bakery product; laptop presence daemon, not included in the BOS ISO)

breadmon is deprecated and no longer appears in the bakery registry. Use the Displays page in bos-settings for monitor layout. Existing installs can be removed with bakery remove breadmon; saved profiles are preserved.

The ecosystem assumes a Hyprland setup with SUPER as the modifier. The conventional bindings (used by BOS and recommended for any install):

Keys Action
SUPER+Space breadbox: app launcher
SUPER+U breadpad: quick-capture notes/reminders
SUPER+M breadman: note viewer / manager
SUPER+, settings (bos-settings, where installed)

breadbar and breadd are services started at login (exec-once), not bound to keys.

Theming

All GUI products (breadbar, breadbox, breadpad) share one stylesheet via bread-theme. Background, surface, overlay, and foreground are always BOS's fixed dark values; only the accent colors are extracted natively from the current wallpaper and cached at $XDG_CACHE_HOME/bread/palette.json. When that file is absent, bread-theme also checks ~/.cache/wal/colors.json (for installs upgrading from an older wal-based setup) before falling back to BOS's curated bread-toned defaults (not Catppuccin Mocha). The stylesheet is written to $XDG_RUNTIME_DIR/bread/theme.css; running apps watch that file and recolour live when it changes. Per-app CSS overrides live at ~/.config/<app>/style.css.

bread-theme generate         # render the shared stylesheet from the
                              # current cached palette
bread-theme reload           # same, and tell running apps to recolour live
                              # (breadpaper calls this after writing a new
                              # wallpaper-derived palette)

bread-theme subcommands:

Subcommand Description
generate Render the current palette and write the shared stylesheet (default)
reload Same as generate; use after a palette change to trigger live recolour in running apps
path Print the stylesheet path
print Render the stylesheet to stdout without writing
layerrules Write the active shell theme's [compositor] rules to ~/.config/hypr/layerrules.json
describe Print the theme.toml schema as JSON
diagnose <id> Exit 0 if theme <id> resolves, else print why and exit 1

The shared theming logic lives in the bread-theme crate in this repo. See BREAD_DESIGN_SYSTEM.md for the design tokens (fonts, spacing, radii, colour roles) the stylesheet is built from.

Shell themes

Beyond the shared colour stylesheet, a shell theme (theme.toml) describes the whole shell's shape and structure: the bar's geometry and contents, the launcher, the notification/OSD/panel surfaces, and their compositor rules. The active one is selected in ~/.config/bread/shell.toml (active = "<id>"); five are built in (liquid-motion, glass-workbench, spotlight, daylight, loaf) and user themes live in ~/.config/bread/themes/<id>/. See docs/shell-themes.md for the authoring guide.

Installing bakery

bakery is the package manager for the ecosystem. Install it with the bootstrap script:

curl -fsSL https://get.breadway.dev | sh

The script downloads the prebuilt bakery binary to ~/.local/bin/bakery and prints a note if that directory isn't on your PATH yet.

Using bakery

bakery list                    # all available packages
bakery list --installed        # only installed packages
bakery info breadbar           # version, binaries, system deps, services
bakery doctor                  # check system deps for installed packages
bakery doctor breadbar         # check system deps for a specific package

bakery install <pkg>           # install a package
bakery update <pkg>            # update a package
bakery update --all            # update everything
bakery remove <pkg>            # remove a package (data files are never deleted)

bakery install runs doctor first and bails with a clear message if any system dependency is missing. Binaries land in ~/.local/bin (override with BAKERY_BIN_DIR).

System prefix (BOS)

Default install root is ~/.local. BOS sets a system prefix so bakery-managed desktop apps live on the @ root subvolume and ride along with snapper/grub-btrfs snapshots:

# /etc/bakery/config.toml
prefix = "/usr/local"

BAKERY_PREFIX overrides the config file. A non-home prefix installs bins to $prefix/bin, share/data/desktop/licenses to $prefix/share/..., and systemd user units to /usr/lib/systemd/user. Per-user state (installed.json, update backups) stays in ~/.local/state/bakery. Writes that need root use sudo -n, then pkexec. bakery doctor prints the active prefix.

Hermes and get.sh are unchanged; they keep the user-local default. See bakery/README.md.

System dependencies by product

bakery doctor checks these automatically before any install. Required deps block installation; optional deps generate a warning but never block.

Package Required Optional
bakery (statically linked, none) none
bread systemd-libs openssl zlib bluez hyprland
breadbar gtk4 gtk4-layer-shell iw libpulse hyprland
breadbox gtk4 gtk4-layer-shell librsvg hyprland
breadcrumbs networkmanager tailscale sudo xdg-utils
breadpad gtk4 gtk4-layer-shell rocm-hip-runtime ollama hyprland

Install all required deps with sudo pacman -S <packages>. Use pacman -Q <pkg> to check whether any are already present.

Workspace

This repo is a Cargo workspace. Bakery-channel products shipped from here are bakery and bread-theme; the other members are shared crates sibling apps pin, or in-tree tools that are not bakery packages of their own.

bread-ecosystem/
├── bakery/              # package manager binary
├── bread-theme/         # shared native-accent + fixed-dark-base theming crate
├── bread-utils/         # shared plumbing (Hyprland IPC, singleton, XDG, BreadClient, …)
├── bread-app/           # GTK bootstrap new tools should use (app id, singleton, overlay, command listen)
├── bread-polkit/        # themed PolicyKit agent (bakery.toml present; unpublished)
├── bread-onnx/          # shared ONNX runtime helpers
├── bread-screenshots/   # grim capture primitive used by app `--screenshot` modes
├── bread-capture/       # orchestrator that drives those `--screenshot` modes
├── registry/            # bread-ecosystem.toml: product registry
└── scripts/
    ├── get.sh                   # curl | sh bootstrap
    ├── gen-index.sh             # generates dl.breadway.dev/index.json from release artifacts
    └── gen-readme-products.sh   # rewrites the Products table from the registry

New GTK tools

Do not copy another app's main.rs. Depend on bread-app:

  • bread_app::application_id / try_acquire / toggle_or_kill for the com.breadway.* application id and single-instance lock
  • feature gtk re-exports bread_utils::gtk_popup (layer-shell overlay)
  • feature bread-client for listen_commands on bread.command.<app>.**

See the bread-app crate docs. Existing apps are not migrated in this tree; bread-polkit is the first in-tree consumer.

bread-polkit

A session PolicyKit authentication agent (password prompt, cancel, identity). Not a wrapper around polkit-gnome. bread-polkit/bakery.toml exists so it can be published via bakery; it is not in registry/bread-ecosystem.toml and is therefore unpublished: not on the bakery index and not on the BOS ISO lockfile.

cargo run -p bread-polkit

Autostart, pick one:

cp bread-polkit/contrib/bread-polkit.desktop ~/.config/autostart/
# hyprland.conf
exec-once = bread-polkit

Release pipeline

Each product repo (Breadway/bread, Breadway/breadbar, …) has .forgejo/workflows/release-*.yml that triggers on v* tags. The workflow runs on a self-hosted runner, builds a stripped x86_64 binary, deposits it at dl.breadway.dev/<pkg>/<version>/, updates index.json, and mirrors the binary to GitHub Releases as a fallback.

bakery always tries dl.breadway.dev first and transparently falls back to the GitHub Release URL recorded in the manifest.

Beyond stable releases, most products also publish dev and beta tracks: continuous builds off main (dev) and vX.Y.Z-rc.N tags (beta). See CONTRIBUTING.md for the branch/release workflow and docs/release-channels.md for the full track policy. Switch tracks with bakery track set <stable|beta|dev>.

Release artifact contract

Each product's release.yml must upload the following files alongside the binary to dl.breadway.dev/<name>/<version>/:

File Purpose
bakery.toml Metadata (deps, services, config) read by gen-index.sh
<binary>-x86_64.sha256 Checksum verified by bakery install and get.sh
*.service systemd unit files installed by bakery install
*.example.toml / config.example.toml Example configs copied on first install

gen-index.sh fails loudly if bakery.toml is missing: this is by design to catch omissions in the release workflow before they silently produce empty metadata in production.

License

MIT, except bread-palette-extract, which ports code from ImageMagick and libjpeg-turbo/IJG and carries their licence terms alongside its own (see bread-palette-extract/NOTICE, LICENSE-ImageMagick and LICENSE-libjpeg-turbo). It is an optional dependency: bread-theme itself stays plain MIT and only links it in when built with the extract feature (see bread-theme's own licence note in its Cargo.toml).