1
0
Fork 0
forked from wry/wry

config: move command schema into schema crate

This commit is contained in:
kossLAN 2026-05-29 17:06:48 -04:00
parent 81a1a865a1
commit f0e7bd31cb
No known key found for this signature in database
3 changed files with 19 additions and 17 deletions

View file

@ -0,0 +1,15 @@
use jay_config::status::MessageFormat;
#[derive(Debug, Clone)]
pub struct Exec {
pub prog: String,
pub args: Vec<String>,
pub envs: Vec<(String, String)>,
}
#[derive(Debug, Clone)]
pub struct Status {
pub format: MessageFormat,
pub exec: Exec,
pub separator: Option<String>,
}

View file

@ -5,12 +5,14 @@
//! generated config documentation, and compositor-side application code.
pub mod animations;
pub mod command;
pub mod input;
pub mod options;
pub mod output;
pub mod theme;
pub use animations::{AnimationCurveConfig, Animations};
pub use command::{Exec, Status};
pub use input::InputMatch;
pub use options::{
ColorManagement, Float, FocusHistory, Libei, RepeatRate, SimpleIm, Tearing, UiDrag, Vrr,