summaryrefslogtreecommitdiff
path: root/src/config.rs
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-03-27 23:53:37 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-03-27 23:53:37 +0300
commit0403775fd2a9458417c5349d5441125ab9b2553c (patch)
tree37f741893e063da7cfb420e5e32c960fff105a1a /src/config.rs
parent1d867053fce00e300c4551ed8087f55885e4d3c2 (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/config.rs')
-rw-r--r--src/config.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/config.rs b/src/config.rs
index 0022d230..704d176c 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -35,6 +35,8 @@ pub struct UiConfig {
/// Accent color for highlights, borders, and navigation UI.
/// Accepts hex (#89b4fa), named colors (cyan, blue), or RGB (rgb(137,180,250)).
pub accent: String,
+ /// Play sounds when agents change state in background workspaces.
+ pub sound: bool,
}
impl Default for KeysConfig {
@@ -55,6 +57,7 @@ impl Default for UiConfig {
sidebar_width: 26,
confirm_close: true,
accent: "cyan".into(),
+ sound: true,
}
}
}