Fix theme lookup of tasklist_spacing; fix doc typo

This commit is contained in:
Kevin Zander 2017-01-16 01:11:42 -06:00
parent 6b8c3642bd
commit c3b565faab
1 changed files with 3 additions and 3 deletions

View File

@ -139,7 +139,7 @@ local instances
--- The space between the tasklist elements.
-- @beautiful beautiful.tasklist_spacing
-- @tparam[opt=0] number spacing The spacing between tags.
-- @tparam[opt=0] number spacing The spacing between tasks.
--- The default tasklist elements shape.
-- @beautiful beautiful.tasklist_shape
@ -404,8 +404,8 @@ function tasklist.new(screen, filter, buttons, style, update_function, base_widg
local data = setmetatable({}, { __mode = 'k' })
if w.set_spacing and (style and style.spacing or beautiful.taglist_spacing) then
w:set_spacing(style and style.spacing or beautiful.taglist_spacing)
if w.set_spacing and (style and style.spacing or beautiful.tasklist_spacing) then
w:set_spacing(style and style.spacing or beautiful.tasklist_spacing)
end
local queued_update = false