diff --git a/Cargo.lock b/Cargo.lock index c1e5eb6..c1bb34d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -84,8 +84,8 @@ checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53" [[package]] name = "bread-utils" -version = "0.3.0" -source = "git+https://git.breadway.dev/Breadway/bread-ecosystem?tag=v0.3.0#8e82d2d833e992ce939a5b836f910ee109f2e939" +version = "0.3.1" +source = "git+https://git.breadway.dev/Breadway/bread-ecosystem?tag=v0.7.1#db2fa3c4b4c1e6933bc5cf62a236d05972fdc886" dependencies = [ "dirs", "serde", diff --git a/Cargo.toml b/Cargo.toml index a8e59a4..a747e4d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,7 +16,7 @@ serde_json = "1" toml = "0.8" tracing = "0.1" tracing-subscriber = { version = "0.3", features = ["env-filter"] } -bread-utils = { git = "https://git.breadway.dev/Breadway/bread-ecosystem", tag = "v0.3.0" } +bread-utils = { git = "https://git.breadway.dev/Breadway/bread-ecosystem", tag = "v0.7.1" } [profile.release] lto = "thin" diff --git a/README.md b/README.md index 89cbf0f..cf01f85 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,20 @@ # breadshot -Wayland screenshot utility for the bread ecosystem. Wraps `grim`, `slurp`, and `wl-copy` with Hyprland-aware geometry resolution, clipboard integration, and desktop notifications. +Wayland screenshot **orchestrator** for the bread ecosystem — not a GUI editor. +It shells out to `grim`, `slurp`, and `wl-copy` with Hyprland-aware geometry +resolution, clipboard integration, and desktop notifications. + +This is a different job from `bread-screenshots` (the crate in +`bread-ecosystem`): that one is a capture harness for screenshotting sibling +apps in CI. Do not merge the two. + +On BOS, Hyprland binds `Super+Shift+S` / `C` / `P` to breadshot (not grimblast): + +| Bind | Action | Command | +|------|--------|---------| +| `Super+Shift+S` | Region → file (and clipboard) | `breadshot region` | +| `Super+Shift+C` | Region → clipboard only | `breadshot region --clipboard-only` | +| `Super+Shift+P` | Screen → file | `breadshot active-output` | ## Requirements