pub mod handles;
pub mod input;
pub mod output;
pub mod shortcut;
pub mod util;
pub mod watch;
use crate::msgs::event;
#[derive(Clone, Debug)]
pub enum GrabEvent {
Grab,
Ungrab,
}
#[derive(Clone, Debug)]
pub struct InputBatch {
pub events: Vec<event::InputEvent>,
pub is_grabbed: bool,
}
#[derive(Clone, Debug)]
pub enum Event {
Input(InputBatch),
SwitchNext,
SwitchPrev,
SwitchTo(String),
}