diff options
Diffstat (limited to 'rc.lua')
-rw-r--r-- | rc.lua | 31 |
1 files changed, 31 insertions, 0 deletions
@@ -0,0 +1,31 @@ +-- global variable definitions +terminal = os.getenv("TERMINAL") or "xterm" +editor = os.getenv("EDITOR") or "vi" + +-- get results from uname +local uname = io.popen("uname -sn") +local uname_i = uname:read("*a"):gmatch("%g+") +uname:close() + +osname = uname_i() +hostname = uname_i() + +-- import modules +require("awful.autofocus") -- focus when moving between tags etc. +require("lib.errors") +require("lib.manage") +require("lib.screen") +require("layouts") +require("theme") -- load before bar +require("mouse") -- load before bar & rules +require("bar") +require("keybindings") +require("rules") +require("func.noborders") +require("func.sloppyfocus") +require("func.warpcursor") +--require("func.tagnames") +--require("widgets.audio") + +-- call override module if exists +pcall(function() require("hosts." .. hostname) end) |