Docs Finish beautiful

Signed-off-by: Ignas Anikevicius (gns_ank) <anikevicius@gmail.com>
This commit is contained in:
Ignas Anikevicius (gns_ank) 2014-05-25 13:24:52 +01:00 committed by Daniel Hahler
parent f12feb0e7d
commit 734cc2f59c
1 changed files with 5 additions and 3 deletions

View File

@ -74,8 +74,9 @@ function beautiful.get_font_height(name)
end
--- Init function, should be runned at the beginning of configuration file.
-- @param config The theme to load. It can be either the path to the theme file
-- (returning a table) or directly the table containing all the theme values
-- @tparam string|table config The theme to load. It can be either the path to
-- the theme file (returning a table) or directly the table
-- containing all the theme values.
function beautiful.init(config)
if config then
local success
@ -113,7 +114,8 @@ function beautiful.init(config)
end
--- Get the current theme.
-- @return The current theme table.
--
-- @treturn table The current theme table.
function beautiful.get()
return theme
end