Skip to main content

Crate entracte_lib

Crate entracte_lib 

Source

ModulesΒ§

audio πŸ”’
Native audio playback.
camera πŸ”’
chores_store πŸ”’
cli
config πŸ”’
diagnostics πŸ”’
display πŸ”’
Display-server plumbing: process-wide Xlib setup, and the one place that marshals a display read onto the windowing system’s main thread.
dnd πŸ”’
hooks πŸ”’
User-configurable shell commands that fire on scheduler events.
ipc πŸ”’
Local IPC channel between the running tray app and entracte CLI invocations.
license_redact πŸ”’
Shared license-shape redaction for log lines that might capture a key.
media πŸ”’
Pause and resume external media around breaks (issue #77).
notifications πŸ”’
pause_store πŸ”’
platform πŸ”’
Authoritative platform detection for the renderer.
plugin_store πŸ”’
Load/save the installed-plugin registry (plugins.json), mirroring pause_store / screen_time_store: a capped read and an atomic, 0o600 write via secure_io. A missing or unparseable file yields an empty registry rather than failing startup.
plugins πŸ”’
Local-only plugin API (#156): manifests, signatures, the installed-plugin registry, and the install/uninstall orchestration. See the staged plan in docs/developer/plugin-api-design.md.
proc πŸ”’
Run external commands with a hard timeout.
proc_match πŸ”’
Shared process-name matching. Used by the run loop’s app-pause guard and by the local-context detector probes, so both agree on what β€œprocess X is running” means β€” in particular both reject substring collisions (zoom must not match zoominfo) while allowing digit-versioned binaries (obs matches obs64).
renderer_log πŸ”’
Renderer-side error reporter. The web error boundary calls this from componentDidCatch so the crash lands in the same rotating log file as everything else, instead of vanishing into the webview devtools console where no end user ever looks.
scheduler πŸ”’
screen_time_store πŸ”’
secure_io πŸ”’
User-only file helpers for secrets at rest.
stats πŸ”’
supporter
tray πŸ”’
updater πŸ”’
video πŸ”’
β€œPause during fullscreen video” detection.
window πŸ”’
Shared helpers for showing the long-lived main window (the Preferences UI), with a Linux/Wayland-specific workaround for #139.

StructsΒ§

SupporterAppState

FunctionsΒ§

get_supporter_status πŸ”’
handle_cli_argv πŸ”’
remove_supporter πŸ”’
run
should_hide_on_close
spawn_supporter_revalidation πŸ”’
verify_supporter_key πŸ”’