Module awesome
awesome core API
Author:
Julien Danjou <julien@danjou.info> |
Copyright© 2008-2009 Julien Danjou
Functions
add_signal (name, func) | Add a global signal. |
emit_signal (name, ...) | Emit a global signal. |
exec (cmd) | Execute another application, probably a window manager, to replace awesome. |
quit () | Quit awesome. |
remove_signal (name, func) | Remove a global signal. |
restart () | Restart awesome. |
Tables
awesome | awesome global table. |
Functions
- add_signal (name, func)
-
Add a global signal.
Parameters
- name: A string with the event name.
- func: The function to call.
- emit_signal (name, ...)
-
Emit a global signal.
Parameters
- name: A string with the event name.
- ...: Signal arguments.
- exec (cmd)
-
Execute another application, probably a window manager, to replace awesome.
Parameters
- cmd: The command line to execute.
- quit ()
- Quit awesome.
- remove_signal (name, func)
-
Remove a global signal.
Parameters
- name: A string with the event name.
- func: The function to call.
- restart ()
- Restart awesome.