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(shortcuts): use Alt+S as default overlay shortcut on Windows

louis0301950b248a351543
diff --git a/screenpipe-app-tauri/src-tauri/src/store.rs b/screenpipe-app-tauri/src-tauri/src/store.rs
index c0e836db6..e2fc265eb 100644
--- a/screenpipe-app-tauri/src-tauri/src/store.rs
+++ b/screenpipe-app-tauri/src-tauri/src/store.rs
@@ -419,6 +419,9 @@ impl Default for SettingsStore {
contact: None,
cloud_subscribed: None,
},
+ #[cfg(target_os = "windows")]
+ show_screenpipe_shortcut: "Alt+S".to_string(),
+ #[cfg(not(target_os = "windows"))]
show_screenpipe_shortcut: "Super+Ctrl+S".to_string(),
start_recording_shortcut: "Super+Ctrl+U".to_string(),
stop_recording_shortcut: "Super+Ctrl+X".to_string(),
diff --git a/screenpipe-app-tauri/src-tauri/src/tray.rs b/screenpipe-app-tauri/src-tauri/src/tray.rs
index be69288df..e05704193 100644
--- a/screenpipe-app-tauri/src-tauri/src/tray.rs
+++ b/screenpipe-app-tauri/src-tauri/src/tray.rs
@@ -71,10 +71,15 @@ fn create_dynamic_menu(
// Full menu after onboarding is complete
// Get the show shortcut from store
+ let default_shortcut = if cfg!(target_os = "windows") {
+ "Alt+S"
+ } else {
+ "Super+Ctrl+S"
+ };
let show_shortcut = store
.get("showScreenpipeShortcut")
.and_then(|v| v.as_str().map(String::from))
- .unwrap_or_else(|| "Super+Ctrl+S".to_string());
+ .unwrap_or_else(|| default_shortcut.to_string());
// Show item with formatted shortcut in label
menu_builder = menu_builder.item(