awful.beautiful: fix comments
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
2e609e3d55
commit
7c2a17e49f
|
@ -9,10 +9,12 @@ local package = package
|
||||||
--- Beautiful module for awful
|
--- Beautiful module for awful
|
||||||
module("awful.beautiful")
|
module("awful.beautiful")
|
||||||
|
|
||||||
-- Exported variable handling theme
|
-- Exported variable handling theme.
|
||||||
theme = {}
|
theme = {}
|
||||||
|
|
||||||
--- Set the beautiful theme if any.
|
--- Register the beautiful theme if beautiful is used.
|
||||||
|
-- That allows various awful functions (and maybe other module using the
|
||||||
|
-- awful.beautiful.get() method) to use colors theme as defined in beautiful.
|
||||||
-- @param The beautiful theme.
|
-- @param The beautiful theme.
|
||||||
function register(btheme)
|
function register(btheme)
|
||||||
if btheme then
|
if btheme then
|
||||||
|
@ -22,7 +24,7 @@ function register(btheme)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
--- Get the current registerde them.
|
--- Get the current registered theme.
|
||||||
-- @return The current theme table.
|
-- @return The current theme table.
|
||||||
function get()
|
function get()
|
||||||
return package.loaded.awful.beautiful.theme
|
return package.loaded.awful.beautiful.theme
|
||||||
|
|
Loading…
Reference in New Issue