Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix: default to primary monitor only on mid/low tier devices

Louis Beaumonta3413a513006
diff --git a/crates/screenpipe-config/src/defaults.rs b/crates/screenpipe-config/src/defaults.rs
index fe55d5298..606a7d2c5 100644
--- a/crates/screenpipe-config/src/defaults.rs
+++ b/crates/screenpipe-config/src/defaults.rs
@@ -295,10 +295,16 @@ pub fn apply_tier_defaults(settings: &mut RecordingSettings, tier: DeviceTier) {
DeviceTier::Mid => {
settings.video_quality = "balanced".to_string();
settings.power_mode = Some("auto".to_string());
+ // Only record the primary monitor to reduce CPU/GPU load
+ settings.use_all_monitors = false;
+ settings.monitor_ids = vec!["default".to_string()];
}
DeviceTier::Low => {
settings.video_quality = "low".to_string();
settings.power_mode = Some("battery_saver".to_string());
+ // Only record the primary monitor to reduce CPU/GPU load
+ settings.use_all_monitors = false;
+ settings.monitor_ids = vec!["default".to_string()];
}
}
}
@@ -321,6 +327,8 @@ mod tests {
assert_eq!(settings.video_quality, "low");
assert_eq!(settings.power_mode.as_deref(), Some("battery_saver"));
assert_eq!(settings.audio_transcription_engine, "whisper-tiny");
+ assert!(!settings.use_all_monitors);
+ assert_eq!(settings.monitor_ids, vec!["default"]);
}
#[test]