From 70c2dd3c6ac17aad051340b4080293876ca68c4f Mon Sep 17 00:00:00 2001 From: Breadway Date: Sat, 15 Aug 2026 21:34:55 +0800 Subject: [PATCH] bakery.toml: bread-theme + awww/pywal, not bread The setter shells out to awww, wal, and bread-theme reload. It never talks to breadd. bakery.toml listed bread as a dep and treated awww as optional. Add a short README: this is a setter, not a library or slideshow daemon. Wallpaper library UI lives in bos-settings. --- README.md | 47 +++++++++++++++++++++++++++++++++++++++++++++++ bakery.toml | 6 +++--- 2 files changed, 50 insertions(+), 3 deletions(-) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..d4b724b --- /dev/null +++ b/README.md @@ -0,0 +1,47 @@ +# breadpaper + +Wallpaper setter for the bread desktop. One command sets the wallpaper +via [awww](https://github.com/heywoodlh/awww), generates a palette with +[pywal](https://github.com/dylanaraps/pywal) (`wal`), and runs +`bread-theme reload`. + +It is not a wallpaper library, a slideshow daemon, or a GUI. Browsing +`~/Pictures/Backgrounds` and picking an image lives in +[bos-settings](https://git.breadway.dev/Breadway/bos-settings). + +## Dependencies + +Must be on `$PATH` for `set`: + +- `awww` — Wayland wallpaper (`awww img`) +- `wal` — palette generation (`python-pywal`) +- `bread-theme` — theme reload (bakery package, not `breadd`) + +`get` only reads the path pywal stored at `~/.cache/wal/wal`. + +## Install + +``` +bakery install breadpaper +``` + +From source: + +``` +cargo build --release +install -Dm755 target/release/breadpaper ~/.local/bin/breadpaper +``` + +## Usage + +``` +breadpaper # shorthand for `set` +breadpaper set # awww + wal + bread-theme reload +breadpaper get # print the current wallpaper path +``` + +Supported formats: `png`, `jpg`, `jpeg`, `webp`, `gif`, `bmp`. + +## License + +MIT — see [LICENSE](LICENSE). diff --git a/bakery.toml b/bakery.toml index 6889a7d..c946a46 100644 --- a/bakery.toml +++ b/bakery.toml @@ -1,9 +1,9 @@ name = "breadpaper" description = "Wallpaper manager for the bread desktop — sets awww wallpaper, generates pywal palette, reloads bread themes" binaries = ["breadpaper"] -system_deps = ["python-pywal"] -optional_system_deps = ["awww"] -bread_deps = ["bread"] +system_deps = ["awww", "python-pywal"] +optional_system_deps = [] +bread_deps = ["bread-theme"] license_file = "LICENSE" [install]