Skip to main content

Crate runlatch_core

Crate runlatch_core 

Source
Expand description

runlatch-core — the data model, provider abstraction, built-in providers, and registry that power runlatch, a modular Linux autostart manager.

Linux autostart is spread across systemd units, XDG .desktop files, and DE-specific session configs. This crate unifies them behind one trait, AutostartProvider, aggregated by a Registry. New backends (OpenRC, KDE, GNOME, …) are added by implementing the trait — no changes to the core.

See provider for why the trait is async, and the crate README for a walkthrough on writing a provider.

Re-exports§

pub use model::AutostartEntry;
pub use model::Scope;
pub use provider::AutostartProvider;
pub use providers::SystemdProvider;
pub use providers::XdgAutostartProvider;
pub use registry::AggregateResult;
pub use registry::ProviderError;
pub use registry::Registry;

Modules§

desktop_file
A small, order-preserving reader/writer for freedesktop Desktop Entry files.
model
Provider-agnostic data model shared across all autostart providers.
provider
The provider abstraction.
providers
Built-in AutostartProvider implementations.
registry
The provider registry: the single entry point callers use to work with every available autostart backend at once.