Keep clipboard shortcuts routed to built-in source

This commit is contained in:
2026-09-06 00:47:44 +01:00
parent 99d9a65283
commit 1d7a9d6cde
4 changed files with 13 additions and 25 deletions
+1 -13
View File
@@ -83,20 +83,8 @@ Item {
else root.open()
}
// Direct target for explicit bindings and pause/resume automation.
IpcHandler {
target: "alanfortlink.clipboard"
function open(): void { root.open() }
function close(): void { root.close() }
function show(): void { root.open() }
function hide(): void { root.close() }
function toggle(): void { root.toggle() }
function pause(payloadJson: string): string { return root.pause(payloadJson) }
function isPaused(): string { return root.isPaused() }
}
// ------------------------------------------------------------ pause
// Toggle via IPC: omarchy-shell alanfortlink.clipboard pause '{"paused":true}'
// Toggle via IPC: omarchy-shell shell call alanfortlink.clipboard pause '{"paused":true}'
// (or {"paused":false}, or {"paused":"toggle"}), and Ctrl+Space in the picker.
function setPaused(next) {
root.paused = !!next