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:
parent
17f62a207d
commit
22133471ed
4
init.lua
4
init.lua
|
@ -239,7 +239,7 @@ function revelation.expose(args)
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Create the wiboxes, but don't show them
|
-- Create the wiboxes, but don't show them
|
||||||
function revelation.init()
|
function revelation.init(args)
|
||||||
hintsize = 60
|
hintsize = 60
|
||||||
local fontcolor = beautiful.fg_normal
|
local fontcolor = beautiful.fg_normal
|
||||||
local letterbox = {}
|
local letterbox = {}
|
||||||
|
@ -249,7 +249,7 @@ function revelation.init()
|
||||||
revelation.tag_name = args.tag_name or revelation.tag_name
|
revelation.tag_name = args.tag_name or revelation.tag_name
|
||||||
if args.match then
|
if args.match then
|
||||||
revelation.match.exact = args.match.exact or revelation.match.exact
|
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
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue