Merge pull request #1859 from psychon/beautiful_newindex

Make beautiful.foo = bar work properly
This commit is contained in:
Emmanuel Lepage Vallée 2017-06-20 04:20:45 -04:00 committed by GitHub
commit 8c926027c4
1 changed files with 4 additions and 0 deletions

View File

@ -227,6 +227,10 @@ function beautiful.mt:__index(k)
return theme[k]
end
function beautiful.mt:__newindex(k, v)
theme[k] = v
end
-- Set the default font
set_font("sans 8")