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.

Tables

awesome
awesome global table. Fields
  • font: The default font.
  • font_height: The default font height.
  • fg: The default foreground color.
  • bg: The default background color.
  • version: The version of awesome. #field release The release name of awesome.
  • conffile: The configuration file which has been loaded.

Valid XHTML 1.0!