Module hotkey_ipc

Module hotkey_ipc 

Source
Expand description

Hotkey inter-process communication types re-exported from gestura-core-ipc.

Structs§

CliHotkeyEndpoint
On-disk discovery record for the currently-running CLI hotkey server.
CliHotkeyServerGuard
Guard that keeps the CLI hotkey server alive and removes the discovery file when dropped.

Functions§

default_cli_hotkey_port_file
Returns the default port file path used for CLI hotkey discovery.
start_cli_hotkey_server
Start a local TCP server that accepts hotkey triggers and forwards them to the provided channel.
try_send_hotkey_trigger_to_cli
Try to send a hotkey trigger to a running CLI session.
try_send_hotkey_trigger_to_cli_with_file
Same as try_send_hotkey_trigger_to_cli but allows injecting a custom port file path.