fix tow bugs. 1) function revelation.init() ould be revelation.init(args)

2) in init() args.match.exact should be args.match.any
Thanks @henfiber
This commit is contained in:
Quan Guo 2014-01-10 16:04:34 +01:00
parent 17f62a207d
commit 22133471ed
1 changed files with 2 additions and 2 deletions

View File

@ -239,7 +239,7 @@ function revelation.expose(args)
end
-- Create the wiboxes, but don't show them
function revelation.init()
function revelation.init(args)
hintsize = 60
local fontcolor = beautiful.fg_normal
local letterbox = {}
@ -249,7 +249,7 @@ function revelation.init()
revelation.tag_name = args.tag_name or revelation.tag_name
if args.match then
revelation.match.exact = args.match.exact or revelation.match.exact
revelation.match.any = args.match.exact or revelation.match.any
revelation.match.any = args.match.any or revelation.match.any
end