New bread-screenshots crate captures a layer-shell surface (by namespace+pid, to disambiguate from an already-running instance) or the whole focused output via grim, using bread-utils::hypr/proc. bread-utils::Monitor gains a scale field and logical_size() so output geometry accounts for HiDPI/ transform, matching breadshot's proven math. bread-utils::hypr gains find_layer() over hyprctl layers -j. bread-capture is a small orchestrator that drives an app's --screenshot mode and collects the resulting PNGs; hardcoded to breadbar's two views for now.
29 lines
645 B
TOML
29 lines
645 B
TOML
[workspace]
|
|
members = ["bakery", "bread-theme", "bread-utils", "bread-onnx", "bread-screenshots", "bread-capture"]
|
|
resolver = "2"
|
|
|
|
[workspace.package]
|
|
version = "0.3.1"
|
|
edition = "2021"
|
|
license = "MIT"
|
|
authors = ["Breadway <plasticbread849@gmail.com>"]
|
|
|
|
[workspace.dependencies]
|
|
anyhow = "1"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
toml = "0.8"
|
|
dirs = "5"
|
|
ureq = { version = "2", features = ["json"] }
|
|
sha2 = "0.10"
|
|
hex = "0.4"
|
|
clap = { version = "4", features = ["derive", "env"] }
|
|
chrono = "0.4"
|
|
minisign-verify = "0.2"
|
|
tracing = "0.1"
|
|
semver = "1"
|
|
|
|
[profile.release]
|
|
lto = "thin"
|
|
codegen-units = 1
|
|
strip = "symbols"
|