mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
beautiful: simplify data retrieval
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
06cbcbc9bb
commit
4ac4cc3ab2
1 changed files with 1 additions and 3 deletions
|
@ -30,9 +30,7 @@ local theme = {}
|
|||
-- @param key The key.
|
||||
-- @return The value.
|
||||
function __index(self, key)
|
||||
if theme[key] then
|
||||
return theme[key]
|
||||
end
|
||||
return theme[key]
|
||||
end
|
||||
|
||||
--- Init function, should be runned at the beginning of configuration file.
|
||||
|
|
Loading…
Reference in a new issue