Skip to content

Commit e503c03

Browse files
eriknielsenclaude
andcommitted
Raycast: remove lock confirmation, dark icon, hotkey docs
- Remove confirmation dialog on lock (matches app behavior, less friction) - Use dark dog head icon for both light and dark mode - Add custom hotkey section to README Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent c77262a commit e503c03

File tree

4 files changed

+10
-12
lines changed

4 files changed

+10
-12
lines changed

lockpaw-raycast/README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,17 @@ Control [Lockpaw](https://getlockpaw.com) — the macOS menu bar screen guard
66

77
| Command | Description |
88
|---------|-------------|
9-
| **Lock Screen** | Activate the lock screen overlay (with confirmation) |
9+
| **Lock Screen** | Activate the lock screen overlay |
1010
| **Unlock Screen** | Unlock via Touch ID |
1111
| **Unlock with Password** | Unlock via macOS password |
1212
| **Toggle Lock Screen** | Toggle lock on/off |
1313

14+
## Assign custom hotkeys
15+
16+
The main reason to use this extension: Raycast lets you assign a hotkey to any command. Go to the extension settings and bind your preferred shortcuts — giving you additional global hotkeys beyond Lockpaw's built-in one.
17+
18+
For example, set `Ctrl+L` for lock and `Ctrl+U` for unlock, or use a single `Hyper+L` for toggle.
19+
1420
## Requirements
1521

1622
- [Lockpaw](https://getlockpaw.com) must be installed and running
200 KB
Loading
-52.6 KB
Loading

lockpaw-raycast/src/lock.ts

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
1-
import { confirmAlert, open, showHUD, Alert } from "@raycast/api";
1+
import { open, showHUD } from "@raycast/api";
22

33
export default async function Command() {
4-
if (
5-
await confirmAlert({
6-
title: "Lock Screen",
7-
message: "Activate the Lockpaw lock screen?",
8-
primaryAction: { title: "Lock", style: Alert.ActionStyle.Default },
9-
})
10-
) {
11-
await open("lockpaw://lock");
12-
await showHUD("Lockpaw locked");
13-
}
4+
await open("lockpaw://lock");
5+
await showHUD("Lockpaw locked");
146
}

0 commit comments

Comments
 (0)