config: move parser option structs into schema crate
This commit is contained in:
parent
b550bb1025
commit
41e7fcc290
6 changed files with 25 additions and 21 deletions
|
|
@ -8,4 +8,7 @@ pub mod animations;
|
|||
pub mod options;
|
||||
|
||||
pub use animations::{AnimationCurveConfig, Animations};
|
||||
pub use options::{Libei, RepeatRate, SimpleIm, Tearing, UiDrag, Vrr, Xwayland};
|
||||
pub use options::{
|
||||
ColorManagement, Float, FocusHistory, Libei, RepeatRate, SimpleIm, Tearing, UiDrag, Vrr,
|
||||
Xwayland,
|
||||
};
|
||||
|
|
|
|||
|
|
@ -9,6 +9,22 @@ pub struct UiDrag {
|
|||
pub threshold: Option<i32>,
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct ColorManagement {
|
||||
pub enabled: Option<bool>,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct Float {
|
||||
pub show_pin_icon: Option<bool>,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct FocusHistory {
|
||||
pub only_visible: Option<bool>,
|
||||
pub same_workspace: Option<bool>,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct RepeatRate {
|
||||
pub rate: i32,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue