debug: let dbg() be the universal thing to debug.

Therefore, we can use it directly on client objects. In this case, we
get full details.
This commit is contained in:
Vincent Bernat 2012-07-15 17:10:40 +02:00
parent 8e531b9ca1
commit edfc26accf
5 changed files with 111 additions and 102 deletions

4
rc.lua
View file

@ -36,6 +36,8 @@ function loadrc(name, mod)
return result
end
loadrc("errors") -- errors and debug stuff
-- Global configuration
modkey = "Mod4"
config = {}
@ -66,7 +68,7 @@ config.hostname = awful.util.pread('uname -n'):gsub('\n', '')
-- Remaining modules
loadrc("xrun") -- xrun function
loadrc("appearance") -- theme and appearance settings
loadrc("errors") -- errors and debug stuff
loadrc("debug") -- debugging primitive `dbg()`
loadrc("start") -- programs to run on start
loadrc("bindings") -- keybindings