- apply_monitors() shells out to `hyprctl eval` with a `hl.monitor()` Lua call, a BOS-only Hyprland extension. On vanilla Hyprland the eval request itself isn't recognized and failed with a confusing raw hyprctl response. Detect that case and fail with an explicit 'this feature requires BOS' message instead, with tests. - README: documented the BOS dependency for the apply step under Requirements; noted everything else in the TUI works without it. - Cargo.toml: 0.1.0 -> 0.1.1, matching the latest tag (v0.1.1).
26 lines
614 B
TOML
26 lines
614 B
TOML
[package]
|
|
name = "breadmon"
|
|
version = "0.1.1"
|
|
edition = "2021"
|
|
description = "TUI monitor manager for Hyprland"
|
|
license = "MIT"
|
|
|
|
[[bin]]
|
|
name = "breadmon"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
ratatui = "0.29"
|
|
crossterm = { version = "0.28", features = ["event-stream"] }
|
|
tokio = { version = "1", features = ["rt-multi-thread", "macros", "process", "signal", "sync", "time", "net", "io-util"] }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
toml = "0.8"
|
|
anyhow = "1"
|
|
dirs = "5"
|
|
futures = "0.3"
|
|
|
|
[profile.release]
|
|
lto = "thin"
|
|
codegen-units = 1
|
|
strip = "symbols"
|