Docs Finish beautiful
Signed-off-by: Ignas Anikevicius (gns_ank) <anikevicius@gmail.com>
This commit is contained in:
parent
f12feb0e7d
commit
734cc2f59c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue