mirror of
https://github.com/lcpz/awesome-copycats.git
synced 2025-01-11 02:08:08 +00:00
Moved variables to ./settings/variables.lua
This commit is contained in:
parent
8a6f4c8236
commit
34e4fd1590
|
@ -29,18 +29,8 @@ os.setlocale(os.getenv("LANG"))
|
||||||
-- beautiful init
|
-- beautiful init
|
||||||
beautiful.init(os.getenv("HOME") .. "/.config/awesome/themes/blackburn/theme.lua")
|
beautiful.init(os.getenv("HOME") .. "/.config/awesome/themes/blackburn/theme.lua")
|
||||||
|
|
||||||
-- common
|
-- variables
|
||||||
modkey = "Mod4"
|
require("settings.variables")
|
||||||
altkey = "Mod1"
|
|
||||||
terminal = "urxvtc" or "xterm"
|
|
||||||
editor = os.getenv("EDITOR") or "nano" or "vi"
|
|
||||||
editor_cmd = terminal .. " -e " .. editor
|
|
||||||
|
|
||||||
-- user defined
|
|
||||||
browser = "dwb"
|
|
||||||
browser2 = "iron"
|
|
||||||
gui_editor = "gvim"
|
|
||||||
graphics = "gimp"
|
|
||||||
|
|
||||||
layouts = {
|
layouts = {
|
||||||
awful.layout.suit.floating,
|
awful.layout.suit.floating,
|
||||||
|
|
|
@ -30,18 +30,8 @@ os.setlocale(os.getenv("LANG"))
|
||||||
-- beautiful init
|
-- beautiful init
|
||||||
beautiful.init(os.getenv("HOME") .. "/.config/awesome/themes/copland/theme.lua")
|
beautiful.init(os.getenv("HOME") .. "/.config/awesome/themes/copland/theme.lua")
|
||||||
|
|
||||||
-- common
|
-- variables
|
||||||
modkey = "Mod4"
|
require("settings.variables")
|
||||||
altkey = "Mod1"
|
|
||||||
terminal = "urxvtc" or "xterm"
|
|
||||||
editor = os.getenv("EDITOR") or "nano" or "vi"
|
|
||||||
editor_cmd = terminal .. " -e " .. editor
|
|
||||||
|
|
||||||
-- user defined
|
|
||||||
browser = "dwb"
|
|
||||||
browser2 = "iron"
|
|
||||||
gui_editor = "gvim"
|
|
||||||
graphics = "gimp"
|
|
||||||
|
|
||||||
-- lain
|
-- lain
|
||||||
lain.layout.termfair.nmaster = 3
|
lain.layout.termfair.nmaster = 3
|
||||||
|
|
|
@ -29,18 +29,8 @@ require("settings.startup")
|
||||||
-- beautiful init
|
-- beautiful init
|
||||||
beautiful.init(awful.util.getdir("config") .. "/themes/dremora/theme.lua")
|
beautiful.init(awful.util.getdir("config") .. "/themes/dremora/theme.lua")
|
||||||
|
|
||||||
-- common
|
-- variables
|
||||||
modkey = "Mod4"
|
require("settings.variables")
|
||||||
altkey = "Mod1"
|
|
||||||
terminal = "urxvtc" or "xterm"
|
|
||||||
editor = os.getenv("EDITOR") or "nano" or "vi"
|
|
||||||
editor_cmd = terminal .. " -e " .. editor
|
|
||||||
|
|
||||||
-- user defined
|
|
||||||
browser = "dwb"
|
|
||||||
browser2 = "iron"
|
|
||||||
gui_editor = "gvim"
|
|
||||||
graphics = "gimp"
|
|
||||||
|
|
||||||
layouts = {
|
layouts = {
|
||||||
awful.layout.suit.floating,
|
awful.layout.suit.floating,
|
||||||
|
|
13
rc.lua.holo
13
rc.lua.holo
|
@ -29,18 +29,9 @@ require("settings.startup")
|
||||||
-- beautiful init
|
-- beautiful init
|
||||||
beautiful.init(os.getenv("HOME") .. "/.config/awesome/themes/holo/theme.lua")
|
beautiful.init(os.getenv("HOME") .. "/.config/awesome/themes/holo/theme.lua")
|
||||||
|
|
||||||
-- common
|
-- variables
|
||||||
modkey = "Mod4"
|
require("settings.variables")
|
||||||
altkey = "Mod1"
|
|
||||||
terminal = "urxvtc" or "xterm"
|
|
||||||
editor = os.getenv("EDITOR") or "nano" or "vi"
|
|
||||||
editor_cmd = terminal .. " -e " .. editor
|
|
||||||
|
|
||||||
-- user defined
|
|
||||||
browser = "dwb"
|
|
||||||
browser2 = "iron"
|
|
||||||
gui_editor = "gvim"
|
|
||||||
graphics = "gimp"
|
|
||||||
musiplr = terminal .. " -e ncmpcpp "
|
musiplr = terminal .. " -e ncmpcpp "
|
||||||
|
|
||||||
layouts = {
|
layouts = {
|
||||||
|
|
|
@ -29,18 +29,9 @@ os.setlocale(os.getenv("LANG"))
|
||||||
-- beautiful init
|
-- beautiful init
|
||||||
beautiful.init(os.getenv("HOME") .. "/.config/awesome/themes/multicolor/theme.lua")
|
beautiful.init(os.getenv("HOME") .. "/.config/awesome/themes/multicolor/theme.lua")
|
||||||
|
|
||||||
-- common
|
-- variables
|
||||||
modkey = "Mod4"
|
require("settings.variables")
|
||||||
altkey = "Mod1"
|
|
||||||
terminal = "urxvtc" or "xterm"
|
|
||||||
editor = os.getenv("EDITOR") or "nano" or "vi"
|
|
||||||
editor_cmd = terminal .. " -e " .. editor
|
|
||||||
|
|
||||||
-- user defined
|
|
||||||
browser = "dwb"
|
|
||||||
browser2 = "iron"
|
|
||||||
gui_editor = "gvim"
|
|
||||||
graphics = "gimp"
|
|
||||||
mail = terminal .. " -e mutt "
|
mail = terminal .. " -e mutt "
|
||||||
|
|
||||||
layouts = {
|
layouts = {
|
||||||
|
|
|
@ -29,18 +29,9 @@ os.setlocale(os.getenv("LANG"))
|
||||||
-- beautiful init
|
-- beautiful init
|
||||||
beautiful.init(os.getenv("HOME") .. "/.config/awesome/themes/powerarrow-darker/theme.lua")
|
beautiful.init(os.getenv("HOME") .. "/.config/awesome/themes/powerarrow-darker/theme.lua")
|
||||||
|
|
||||||
-- common
|
-- variables
|
||||||
modkey = "Mod4"
|
require("settings.variables")
|
||||||
altkey = "Mod1"
|
|
||||||
terminal = "urxvtc" or "xterm"
|
|
||||||
editor = os.getenv("EDITOR") or "nano" or "vi"
|
|
||||||
editor_cmd = terminal .. " -e " .. editor
|
|
||||||
|
|
||||||
-- user defined
|
|
||||||
browser = "dwb"
|
|
||||||
browser2 = "iron"
|
|
||||||
gui_editor = "gvim"
|
|
||||||
graphics = "gimp"
|
|
||||||
mail = terminal .. " -e mutt "
|
mail = terminal .. " -e mutt "
|
||||||
iptraf = terminal .. " -g 180x54-20+34 -e sudo iptraf-ng -i all "
|
iptraf = terminal .. " -g 180x54-20+34 -e sudo iptraf-ng -i all "
|
||||||
musicplr = terminal .. " -g 130x34-320+16 -e ncmpcpp "
|
musicplr = terminal .. " -g 130x34-320+16 -e ncmpcpp "
|
||||||
|
|
|
@ -29,18 +29,8 @@ os.setlocale(os.getenv("LANG"))
|
||||||
-- beautiful init
|
-- beautiful init
|
||||||
beautiful.init(os.getenv("HOME") .. "/.config/awesome/themes/rainbow/theme.lua")
|
beautiful.init(os.getenv("HOME") .. "/.config/awesome/themes/rainbow/theme.lua")
|
||||||
|
|
||||||
-- common
|
-- variables
|
||||||
modkey = "Mod4"
|
require("settings.variables")
|
||||||
altkey = "Mod1"
|
|
||||||
terminal = "urxvtc" or "xterm"
|
|
||||||
editor = os.getenv("EDITOR") or "nano" or "vi"
|
|
||||||
editor_cmd = terminal .. " -e " .. editor
|
|
||||||
|
|
||||||
-- user defined
|
|
||||||
browser = "dwb"
|
|
||||||
browser2 = "iron"
|
|
||||||
gui_editor = "gvim"
|
|
||||||
graphics = "gimp"
|
|
||||||
|
|
||||||
-- lain
|
-- lain
|
||||||
lain.layout.termfair.nmaster = 3
|
lain.layout.termfair.nmaster = 3
|
||||||
|
|
|
@ -29,18 +29,8 @@ os.setlocale(os.getenv("LANG"))
|
||||||
-- beautiful init
|
-- beautiful init
|
||||||
beautiful.init(os.getenv("HOME") .. "/.config/awesome/themes/steamburn/theme.lua")
|
beautiful.init(os.getenv("HOME") .. "/.config/awesome/themes/steamburn/theme.lua")
|
||||||
|
|
||||||
-- common
|
-- variables
|
||||||
modkey = "Mod4"
|
require("settings.variables")
|
||||||
altkey = "Mod1"
|
|
||||||
terminal = "urxvtc" or "xterm"
|
|
||||||
editor = os.getenv("EDITOR") or "nano" or "vi"
|
|
||||||
editor_cmd = terminal .. " -e " .. editor
|
|
||||||
|
|
||||||
-- user defined
|
|
||||||
browser = "dwb"
|
|
||||||
browser2 = "iron"
|
|
||||||
gui_editor = "gvim"
|
|
||||||
graphics = "gimp"
|
|
||||||
|
|
||||||
-- lain
|
-- lain
|
||||||
lain.layout.termfair.nmaster = 3
|
lain.layout.termfair.nmaster = 3
|
||||||
|
|
12
settings/variables.lua
Normal file
12
settings/variables.lua
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
-- common
|
||||||
|
modkey = "Mod4"
|
||||||
|
altkey = "Mod1"
|
||||||
|
terminal = "urxvtc" or "xterm"
|
||||||
|
editor = os.getenv("EDITOR") or "nano" or "vi"
|
||||||
|
editor_cmd = terminal .. " -e " .. editor
|
||||||
|
|
||||||
|
-- user defined
|
||||||
|
browser = "dwb"
|
||||||
|
browser2 = "iron"
|
||||||
|
gui_editor = "gvim"
|
||||||
|
graphics = "gimp"
|
Loading…
Reference in a new issue