diff --git a/lib/beautiful/init.lua b/lib/beautiful/init.lua index 3a39d6621..0cc380870 100644 --- a/lib/beautiful/init.lua +++ b/lib/beautiful/init.lua @@ -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")