Global Keybindings

The basic syntax for creating a global keybinding in awesome is: globalkeys = awful.util.table.join(globalkeys, awful.key({ "modifier" }, "keycode",function someLuaCodeHere end))

Where "keycode" can be a named key, such as "XF86AudioRaiseVolume", "#123" (X keycode), "5", and modifier can be "Ctrl" or "Mod1"-"Mod4". Capitals matter.

Replace someLuaCodehere with the function you wish to call on keypress.

Example: globalkeys = awful.util.table.join(globalkeys, awful.key({ }, "XF86AudioRaiseVolume",function volume("up", tb_volume) end))

A list of keycodes is available on the linkquestions wiki.