diff --git a/README.rst b/README.rst index 05dc409..2472bd7 100644 --- a/README.rst +++ b/README.rst @@ -107,7 +107,7 @@ in ``rc.lua``, and * configure widgets * define wiboxes and screen settings -in ``theme.lua``, so that you just need to change ``chosen_theme`` variable in ``rc.lua`` to preserve your preferences *and* switch the theme, instead of having N different ``rc.lua`` full of redundancy. +in ``theme.lua``, so that you just need to change ``chosen_theme`` variable in ``rc.lua`` to preserve your preferences *and* switch the theme, instead of having multiple redundant ``rc.lua``s. Just do the following: diff --git a/rc.lua.template b/rc.lua.template index cc39961..1783a7a 100644 --- a/rc.lua.template +++ b/rc.lua.template @@ -58,7 +58,21 @@ run_once({ "unclutter -root" }) -- entries must be comma-separated -- }}} -- {{{ Variable definitions -local chosen_theme = "multicolor" + +local themes = { + "blackburn", -- 1 + "copland", -- 2 + "dremora", -- 3 + "holo", -- 4 + "multicolor", -- 5 + "powerarrow", -- 6 + "powerarrow-dark", -- 7 + "rainbow", -- 8 + "steamburn", -- 9 + "vertex", -- 10 +} + +local chosen_theme = themes[5] local modkey = "Mod4" local altkey = "Mod1" local terminal = "xterm"