bakery.toml: bread-theme + awww/pywal, not bread
All checks were successful
check / check (push) Successful in 8s

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.
This commit is contained in:
Breadway 2026-08-15 21:34:55 +08:00
parent a93e8b1793
commit 70c2dd3c6a
2 changed files with 50 additions and 3 deletions

47
README.md Normal file
View file

@ -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 <path> # shorthand for `set`
breadpaper set <path> # 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).

View file

@ -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]