Skip to main content

Module backend

Module backend 

Source
Expand description

The backend is scxcli, the one program that changes what scx.service runs. scxtui spawns it for everything, reads its --json output for state, and runs the privileged commands through pkexec when it is not root. The trait exists so the application logic is exercised against an in-memory stub in tests, not to support another backend.

Re-exports§

use crate::model::Listing; 🔒
use anyhow::Result; 🔒

Modules§

scxcli
scxcli as a child process.

Traits§

Backend

Type Aliases§

Report
What a write command printed, for the message bar.