mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-16 07:47:22 +01:00
doc: fix @treturn usage with index_theme:get_per_directory_keys
This commit is contained in:
parent
6d2fc5c12b
commit
ef4f3277b0
1 changed files with 5 additions and 5 deletions
|
@ -149,11 +149,11 @@ end
|
|||
--- Query (part of) per-directory keys of a given subdirectory name.
|
||||
-- @deprecated menubar.index_theme:get_per_directory_keys
|
||||
-- @tparam table subdirectory Icon theme's subdirectory
|
||||
-- @treturn[1] string Value of the `Type` key
|
||||
-- @treturn[2] number Value of the `Size` key
|
||||
-- @treturn[3] number VAlue of the `MinSize` key
|
||||
-- @treturn[4] number Value of the `MaxSize` key
|
||||
-- @treturn[5] number Value of the `Threshold` key
|
||||
-- @treturn string Value of the `Type` key
|
||||
-- @treturn number Value of the `Size` key
|
||||
-- @treturn number VAlue of the `MinSize` key
|
||||
-- @treturn number Value of the `MaxSize` key
|
||||
-- @treturn number Value of the `Threshold` key
|
||||
function index_theme:get_per_directory_keys(subdirectory)
|
||||
local keys = self.per_directory_keys[subdirectory]
|
||||
return keys[TYPE], keys[SIZE], keys[MINSIZE], keys[MAXSIZE], keys[THRESHOLD]
|
||||
|
|
Loading…
Reference in a new issue