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: update default timeline shortcut to Ctrl+Cmd+S on macOS/Linux

Louis Beaumonte9ca62faaf43
diff --git a/screenpipe-app-tauri/app/shortcut-reminder/page.tsx b/screenpipe-app-tauri/app/shortcut-reminder/page.tsx
index 8f89a6262..7dcc42764 100644
--- a/screenpipe-app-tauri/app/shortcut-reminder/page.tsx
+++ b/screenpipe-app-tauri/app/shortcut-reminder/page.tsx
@@ -39,10 +39,10 @@ export default function ShortcutReminderPage() {
// Set default shortcuts once platform is detected (fallback if store fails)
useEffect(() => {
if (!isLoading && overlayShortcut === null) {
- setOverlayShortcut(isMac ? "⌘⌥S" : "Win+Alt+S");
+ setOverlayShortcut(isMac ? "⌃⌘S" : "Alt+S");
}
if (!isLoading && chatShortcut === null) {
- setChatShortcut(isMac ? "⌘⌥L" : "Win+Alt+L");
+ setChatShortcut(isMac ? "⌃⌘L" : "Alt+L");
}
}, [isMac, isLoading, overlayShortcut, chatShortcut]);
@@ -164,8 +164,8 @@ export default function ShortcutReminderPage() {
}
function formatShortcut(shortcut: string, isMac: boolean): string {
- // Default matches Super+Alt+S from settings
- if (!shortcut) return isMac ? "⌘⌥S" : "Win+Alt+S";
+ // Default matches Control+Super+S from settings
+ if (!shortcut) return isMac ? "⌃⌘S" : "Alt+S";
if (isMac) {
return shortcut
.replace(/Super|Command|Cmd/gi, "⌘")
diff --git a/screenpipe-app-tauri/components/onboarding/shortcuts.tsx b/screenpipe-app-tauri/components/onboarding/shortcuts.tsx
index 71a7f2a4a..8662908b7 100644
--- a/screenpipe-app-tauri/components/onboarding/shortcuts.tsx
+++ b/screenpipe-app-tauri/components/onboarding/shortcuts.tsx
@@ -38,7 +38,7 @@ export default function OnboardingShortcuts({
{
id: "showScreenpipeShortcut",
title: "Show/Hide screenpipe",
- defaultShortcut: isWindows ? "Alt+S" : "Super+Alt+S",
+ defaultShortcut: isWindows ? "Alt+S" : "Control+Super+S",
description: "Quickly toggle the screenpipe interface",
value: settings.showScreenpipeShortcut,
},
diff --git a/screenpipe-app-tauri/lib/hooks/use-settings.tsx b/screenpipe-app-tauri/lib/hooks/use-settings.tsx
index 8c87f8c65..a552172e8 100644
--- a/screenpipe-app-tauri/lib/hooks/use-settings.tsx
+++ b/screenpipe-app-tauri/lib/hooks/use-settings.tsx
@@ -191,7 +191,7 @@ export function createDefaultSettingsObject(): Settings {
DEFAULT_SETTINGS.disabledShortcuts.push(...(DEFAULT_IGNORED_WINDOWS_PER_OS[p] ?? []));
DEFAULT_SETTINGS.ocrEngine = p === "macos" ? "apple-native" : p === "windows" ? "windows-native" : "tesseract";
DEFAULT_SETTINGS.fps = p === "macos" ? 0.5 : 1;
- DEFAULT_SETTINGS.showScreenpipeShortcut = p === "windows" ? "Alt+S" : "Super+Alt+S";
+ DEFAULT_SETTINGS.showScreenpipeShortcut = p === "windows" ? "Alt+S" : "Control+Super+S";
DEFAULT_SETTINGS.showChatShortcut = p === "windows" ? "Alt+L" : "Control+Super+L";
return DEFAULT_SETTINGS;
diff --git a/screenpipe-app-tauri/src-tauri/src/commands.rs b/screenpipe-app-tauri/src-tauri/src/commands.rs
index 8348f4eeb..763a9e0ca 100644
--- a/screenpipe-app-tauri/src-tauri/src/commands.rs
+++ b/screenpipe-app-tauri/src-tauri/src/commands.rs
@@ -119,7 +119,7 @@ pub fn is_overlay_click_through(_app_handle: tauri::AppHandle) -> bool {
#[cfg(target_os = "windows")]
const DEFAULT_SHORTCUT: &str = "Alt+S";
#[cfg(not(target_os = "windows"))]
-const DEFAULT_SHORTCUT: &str = "Super+Alt+S";
+const DEFAULT_SHORTCUT: &str = "Control+Super+S";
#[tauri::command(rename_all = "snake_case")]
#[specta::specta]