#![allow(clippy::module_inception)] use shared::RoCell; mod boot; pub mod keymap; mod log; pub mod manager; pub mod open; mod pattern; mod preset; pub mod preview; pub mod tasks; pub mod theme; mod validation; mod xdg; pub(crate) use pattern::*; pub(crate) use preset::*; pub(crate) use xdg::*; static MERGED_KEYMAP: RoCell = RoCell::new(); static MERGED_THEME: RoCell = RoCell::new(); static MERGED_YAZI: RoCell = RoCell::new(); pub static KEYMAP: RoCell = RoCell::new(); pub static LOG: RoCell = RoCell::new(); pub static MANAGER: RoCell = RoCell::new(); pub static OPEN: RoCell = RoCell::new(); pub static PREVIEW: RoCell = RoCell::new(); pub static TASKS: RoCell = RoCell::new(); pub static THEME: RoCell = RoCell::new(); pub static BOOT: RoCell = RoCell::new(); pub fn init() { MERGED_KEYMAP.with(Preset::keymap); MERGED_THEME.with(Preset::theme); MERGED_YAZI.with(Preset::yazi); KEYMAP.with(Default::default); LOG.with(Default::default); MANAGER.with(Default::default); OPEN.with(Default::default); PREVIEW.with(Default::default); TASKS.with(Default::default); THEME.with(Default::default); BOOT.with(Default::default); }