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:
parent
bb85e10042
commit
0ef214ef8d
|
@ -2,7 +2,7 @@
|
||||||
-- Default awesome theme --
|
-- Default awesome theme --
|
||||||
---------------------------
|
---------------------------
|
||||||
|
|
||||||
theme = {}
|
local theme = {}
|
||||||
|
|
||||||
theme.font = "sans 8"
|
theme.font = "sans 8"
|
||||||
|
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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"
|
||||||
-- }}}
|
-- }}}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue