Fix theme lookup of tasklist_spacing; fix doc typo
This commit is contained in:
parent
6b8c3642bd
commit
c3b565faab
|
@ -139,7 +139,7 @@ local instances
|
||||||
|
|
||||||
--- The space between the tasklist elements.
|
--- The space between the tasklist elements.
|
||||||
-- @beautiful beautiful.tasklist_spacing
|
-- @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.
|
--- The default tasklist elements shape.
|
||||||
-- @beautiful beautiful.tasklist_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' })
|
local data = setmetatable({}, { __mode = 'k' })
|
||||||
|
|
||||||
if w.set_spacing and (style and style.spacing or beautiful.taglist_spacing) then
|
if w.set_spacing and (style and style.spacing or beautiful.tasklist_spacing) then
|
||||||
w:set_spacing(style and style.spacing or beautiful.taglist_spacing)
|
w:set_spacing(style and style.spacing or beautiful.tasklist_spacing)
|
||||||
end
|
end
|
||||||
|
|
||||||
local queued_update = false
|
local queued_update = false
|
||||||
|
|
Loading…
Reference in New Issue