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/app/state.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/app/state.rs')
| -rw-r--r-- | src/app/state.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/app/state.rs b/src/app/state.rs index b0a81165..440bfc17 100644 --- a/src/app/state.rs +++ b/src/app/state.rs @@ -69,6 +69,7 @@ pub struct AppState { pub sidebar_collapsed: bool, pub confirm_close: bool, pub accent: Color, + pub sound: bool, pub keybinds: Keybinds, } @@ -119,6 +120,7 @@ impl AppState { sidebar_collapsed: false, confirm_close: true, accent: Color::Cyan, + sound: true, keybinds: Keybinds { split_vertical: (KeyCode::Char('v'), KeyModifiers::empty()), split_horizontal: (KeyCode::Char('-'), KeyModifiers::empty()), |
