Function set_status_command

Source
pub fn set_status_command(
    format: MessageFormat,
    command: impl BorrowMut<Command>,
)
Expand description

Sets a command whose output will be used as the status text.

The stdout and stderr` of the command will be overwritten by this function. The stdout will be used for the status text and the stderr will be appended to the compositor log.

The format of stdout is determined by the format parameter.