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