1
0
Fork 0
forked from wry/wry

config: move parser option structs into schema crate

This commit is contained in:
kossLAN 2026-05-29 17:01:28 -04:00
parent b550bb1025
commit 41e7fcc290
No known key found for this signature in database
6 changed files with 25 additions and 21 deletions

View file

@ -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,
};

View file

@ -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,