Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

feat(hotkeys): add screenshot hotkey labels to settings UI

Richie McIlroy685f1fd36250
diff --git a/apps/desktop/src/routes/(window-chrome)/settings/hotkeys.tsx b/apps/desktop/src/routes/(window-chrome)/settings/hotkeys.tsx
index 6c99b069d..14304cc6e 100644
--- a/apps/desktop/src/routes/(window-chrome)/settings/hotkeys.tsx
+++ b/apps/desktop/src/routes/(window-chrome)/settings/hotkeys.tsx
@@ -31,6 +31,9 @@ const ACTION_TEXT = {
openRecordingPickerDisplay: "Record display",
openRecordingPickerWindow: "Record window",
openRecordingPickerArea: "Record area",
+ screenshotDisplay: "Screenshot current display",
+ screenshotWindow: "Screenshot current window",
+ screenshotArea: "Screenshot area picker",
} satisfies { [K in HotkeyAction]?: string };
export default function () {
@@ -87,6 +90,9 @@ function Inner(props: { initialStore: HotkeysStore | null }) {
"openRecordingPickerDisplay",
"openRecordingPickerWindow",
"openRecordingPickerArea",
+ "screenshotDisplay",
+ "screenshotWindow",
+ "screenshotArea",
] satisfies Array<keyof typeof ACTION_TEXT>;
return (