config: move keymap schema into schema crate
This commit is contained in:
parent
d9261414c2
commit
e21670f3f6
3 changed files with 14 additions and 11 deletions
8
jay-config-schema/src/keymap.rs
Normal file
8
jay-config-schema/src/keymap.rs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
use jay_config::keyboard::Keymap;
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
pub enum ConfigKeymap {
|
||||
Named(String),
|
||||
Literal(Keymap),
|
||||
Defined { name: String, map: Keymap },
|
||||
}
|
||||
|
|
@ -7,6 +7,7 @@
|
|||
pub mod animations;
|
||||
pub mod command;
|
||||
pub mod input;
|
||||
pub mod keymap;
|
||||
pub mod options;
|
||||
pub mod output;
|
||||
pub mod rules;
|
||||
|
|
@ -15,6 +16,7 @@ pub mod theme;
|
|||
pub use animations::{AnimationCurveConfig, Animations};
|
||||
pub use command::{Exec, Status};
|
||||
pub use input::InputMatch;
|
||||
pub use keymap::ConfigKeymap;
|
||||
pub use options::{
|
||||
ColorManagement, Float, FocusHistory, Libei, RepeatRate, SimpleIm, Tearing, UiDrag, Vrr,
|
||||
Xwayland,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue