//! Thin wrapper around [`arboard`] for writing text to the system clipboard.
//!
//! All errors are returned as `String` so callers can forward them directly
//! to the status bar without pulling in the `arboard` type into every module.
/// Copies `text` to the system clipboard.
///
/// Returns `Ok(())` on success, or an error message that can be shown in the
/// status bar on failure (e.g. when running in a headless environment).