diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-03-27 23:53:37 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-03-27 23:53:37 +0300 |
| commit | 0403775fd2a9458417c5349d5441125ab9b2553c (patch) | |
| tree | 37f741893e063da7cfb420e5e32c960fff105a1a /src/main.rs | |
| parent | 1d867053fce00e300c4551ed8087f55885e4d3c2 (diff) | |
feat: sound notifications for agent state changes
play a chime when an agent finishes work and an alert when one needs
input. only triggers for background workspaces. configurable via
sound = true/false under [ui] in config.
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index a76b913e..1e31b05a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -18,6 +18,7 @@ mod persist; mod platform; mod pty_callbacks; mod selection; +mod sound; mod ui; mod update; mod workspace; @@ -82,6 +83,9 @@ const DEFAULT_CONFIG: &str = r#"# herdr configuration # Accent color for highlights, borders, and navigation UI. # Accepts: hex (#89b4fa), named colors (cyan, blue, magenta), or rgb(r,g,b) # accent = "cyan" + +# Play sounds when agents change state in background workspaces +# sound = true "#; fn main() -> io::Result<()> { |
