1
0
Fork 0
forked from wry/wry

config: move keymap schema into schema crate

This commit is contained in:
kossLAN 2026-05-29 17:08:55 -04:00
parent d9261414c2
commit e21670f3f6
No known key found for this signature in database
3 changed files with 14 additions and 11 deletions

View 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 },
}

View file

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