autosway 0.5.0

Automation program
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use super::*;

pub struct Extra;
impl Module for Extra {
    fn load(&self, state: &mut State) -> Result<(), LuaError> {
        let module = state
            .lua
            .load(include_str!("../../../lua/extra.lua"))
            .call::<LuaTable>(LuaValue::Nil)?;

        create_module(&state.lua, "autosway.extra", module)?;
        Ok(())
    }
}