Themes: Use "local"

All themes (except for xresources) were setting a global variable "theme" with
the defined settings. Prefix this with "local".

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2016-02-07 12:53:26 +01:00
parent bb85e10042
commit 0ef214ef8d
3 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
-- Default awesome theme -- -- Default awesome theme --
--------------------------- ---------------------------
theme = {} local theme = {}
theme.font = "sans 8" theme.font = "sans 8"

View File

@ -5,7 +5,7 @@
-- If you want SVGs and extras, get them from garoth.com/awesome/sky-theme -- If you want SVGs and extras, get them from garoth.com/awesome/sky-theme
-- BASICS -- BASICS
theme = {} local theme = {}
theme.font = "sans 8" theme.font = "sans 8"
theme.bg_focus = "#e2eeea" theme.bg_focus = "#e2eeea"

View File

@ -7,7 +7,7 @@
-- * http://awesome.naquadah.org/wiki/Nice_Icons -- * http://awesome.naquadah.org/wiki/Nice_Icons
-- {{{ Main -- {{{ Main
theme = {} local theme = {}
theme.wallpaper = "@AWESOME_THEMES_PATH@/zenburn/zenburn-background.png" theme.wallpaper = "@AWESOME_THEMES_PATH@/zenburn/zenburn-background.png"
-- }}} -- }}}