autosway 0.5.0

Automation program
Documentation
use super::*;

pub fn create_module(lua: &Lua, name: &str, table: LuaTable) -> Result<(), LuaError> {
    lua.load_from_function::<LuaTable>(
        name,
        lua.create_function(move |_, _: ()| Ok(table.clone()))?,
    )?;
    Ok(())
}

mod core;
pub use core::Core;

mod os;
pub use os::Os;

mod fs;
pub use fs::Fs;

mod i3;
pub use i3::I3wm;

mod util;
pub use util::Util;

mod desktop;
pub use desktop::Desktop;

mod multimedia;
pub use multimedia::Multimedia;

mod net;
pub use net::Net;

mod extra;
pub use extra::Extra;