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(windows): use Alt+S as default shortcut fallback

Louis Beaumont93e890d3d6db
diff --git a/screenpipe-app-tauri/src-tauri/src/commands.rs b/screenpipe-app-tauri/src-tauri/src/commands.rs
index b73ab7fbb..156dbf37d 100644
--- a/screenpipe-app-tauri/src-tauri/src/commands.rs
+++ b/screenpipe-app-tauri/src-tauri/src/commands.rs
@@ -91,6 +91,9 @@ pub fn is_overlay_click_through(_app_handle: tauri::AppHandle) -> bool {
false
}
+#[cfg(target_os = "windows")]
+const DEFAULT_SHORTCUT: &str = "Alt+S";
+#[cfg(not(target_os = "windows"))]
const DEFAULT_SHORTCUT: &str = "Super+Alt+S";
#[tauri::command(rename_all = "snake_case")]