From 773d424b8ffa6fd719eb99f49329821698f10985 Mon Sep 17 00:00:00 2001 From: Alexandre Viau Date: Sun, 11 May 2014 22:45:24 -0400 Subject: [PATCH] Moved localization to ./settings/variables.lua --- rc.lua.blackburn | 3 --- rc.lua.copland | 3 --- rc.lua.dremora | 3 --- rc.lua.holo | 3 --- rc.lua.multicolor | 3 --- rc.lua.powerarrow-darker | 3 --- rc.lua.rainbow | 3 --- rc.lua.steamburn | 3 --- settings/variables.lua | 3 +++ 9 files changed, 3 insertions(+), 24 deletions(-) diff --git a/rc.lua.blackburn b/rc.lua.blackburn index 4815a65..116c898 100644 --- a/rc.lua.blackburn +++ b/rc.lua.blackburn @@ -23,9 +23,6 @@ require("myrc.errors") require("settings.startup") -- {{{ Variable definitions --- localization -os.setlocale(os.getenv("LANG")) - -- beautiful init beautiful.init(os.getenv("HOME") .. "/.config/awesome/themes/blackburn/theme.lua") diff --git a/rc.lua.copland b/rc.lua.copland index 6eb4e15..08fb8fa 100644 --- a/rc.lua.copland +++ b/rc.lua.copland @@ -24,9 +24,6 @@ require("myrc.errors") require("settings.startup") -- {{{ Variable definitions --- localization -os.setlocale(os.getenv("LANG")) - -- beautiful init beautiful.init(os.getenv("HOME") .. "/.config/awesome/themes/copland/theme.lua") diff --git a/rc.lua.dremora b/rc.lua.dremora index 494c8bc..f17b8cb 100644 --- a/rc.lua.dremora +++ b/rc.lua.dremora @@ -23,9 +23,6 @@ require("myrc.errors") require("settings.startup") -- {{{ Variable definitions --- localization ---os.setlocale(os.getenv("LANG")) - -- beautiful init beautiful.init(awful.util.getdir("config") .. "/themes/dremora/theme.lua") diff --git a/rc.lua.holo b/rc.lua.holo index fe8efc6..b23c45a 100644 --- a/rc.lua.holo +++ b/rc.lua.holo @@ -23,9 +23,6 @@ require("myrc.errors") require("settings.startup") -- {{{ Variable definitions --- localization ---os.setlocale(os.getenv("LANG")) - -- beautiful init beautiful.init(os.getenv("HOME") .. "/.config/awesome/themes/holo/theme.lua") diff --git a/rc.lua.multicolor b/rc.lua.multicolor index d0fd318..8cd36ec 100644 --- a/rc.lua.multicolor +++ b/rc.lua.multicolor @@ -23,9 +23,6 @@ require("myrc.errors") require("settings.startup") -- {{{ Variable definitions --- localization -os.setlocale(os.getenv("LANG")) - -- beautiful init beautiful.init(os.getenv("HOME") .. "/.config/awesome/themes/multicolor/theme.lua") diff --git a/rc.lua.powerarrow-darker b/rc.lua.powerarrow-darker index 2b6c22b..1426f06 100644 --- a/rc.lua.powerarrow-darker +++ b/rc.lua.powerarrow-darker @@ -23,9 +23,6 @@ require("myrc.errors") require("settings.startup") -- {{{ Variable definitions --- localization -os.setlocale(os.getenv("LANG")) - -- beautiful init beautiful.init(os.getenv("HOME") .. "/.config/awesome/themes/powerarrow-darker/theme.lua") diff --git a/rc.lua.rainbow b/rc.lua.rainbow index b383cfb..1de8844 100644 --- a/rc.lua.rainbow +++ b/rc.lua.rainbow @@ -23,9 +23,6 @@ require("myrc.errors") require("settings.startup") -- {{{ Variable definitions --- localization -os.setlocale(os.getenv("LANG")) - -- beautiful init beautiful.init(os.getenv("HOME") .. "/.config/awesome/themes/rainbow/theme.lua") diff --git a/rc.lua.steamburn b/rc.lua.steamburn index e587420..dac1f98 100644 --- a/rc.lua.steamburn +++ b/rc.lua.steamburn @@ -23,9 +23,6 @@ require("myrc.errors") require("settings.startup") -- {{{ Variable definitions --- localization -os.setlocale(os.getenv("LANG")) - -- beautiful init beautiful.init(os.getenv("HOME") .. "/.config/awesome/themes/steamburn/theme.lua") diff --git a/settings/variables.lua b/settings/variables.lua index 3c77b70..28ae6d2 100644 --- a/settings/variables.lua +++ b/settings/variables.lua @@ -1,3 +1,6 @@ +-- localization +os.setlocale(os.getenv("LANG")) + -- common modkey = "Mod4" altkey = "Mod1"