aboutsummaryrefslogtreecommitdiff
path: root/config.dot/awesome.link/rc.lua
diff options
context:
space:
mode:
Diffstat (limited to 'config.dot/awesome.link/rc.lua')
-rw-r--r--config.dot/awesome.link/rc.lua44
1 files changed, 19 insertions, 25 deletions
diff --git a/config.dot/awesome.link/rc.lua b/config.dot/awesome.link/rc.lua
index b2ae653..3dcd828 100644
--- a/config.dot/awesome.link/rc.lua
+++ b/config.dot/awesome.link/rc.lua
@@ -3,20 +3,17 @@ homedir = os.getenv("HOME")
configdir = homedir .. "/.config/awesome"
themes_dir = configdir .. "/themes"
--- Standard awesome library
-require("awful")
-require("awful.util")
-require("awful.autofocus")
-require("awful.rules")
-
--- Theme handling library
-require("beautiful")
-
--- Notification library
-require("naughty")
-
--- Widget libraries
-require("vicious")
+-- Awesome library dependencies
+gears = require("gears")
+awful = require("awful")
+wibox = require("wibox")
+autofocus = require("awful.autofocus")
+beautiful = require("beautiful")
+naughty = require("naughty")
+
+-- Theme
+--beautiful.init(awful.util.get_themes_dir() .. "default/theme.lua")
+beautiful.init(awful.util.get_themes_dir() .. "zenburn/theme.lua")
-- Load Debian menu entries
require("debian.menu")
@@ -29,20 +26,20 @@ end
-- Variables
dofile(configdir .. "/variables.lua")
--- Load theme
-beautiful.init(themes_dir .. "/powerarrow/theme.lua")
+-- Layout
+dofile(configdir .. "/layout.lua")
+
+-- Check for errors
+dofile(configdir .. "/errors.lua")
-- Misc functions
dofile(configdir .. "/functions.lua")
--- Tags
-dofile(configdir .. "/tags.lua")
-
-- Menu
dofile(configdir .. "/menu.lua")
--- Wibox
-dofile(configdir .. "/wibox.lua")
+-- Wibar
+dofile(configdir .. "/wibar.lua")
-- Mouse
dofile(configdir .. "/mouse.lua")
@@ -50,7 +47,7 @@ dofile(configdir .. "/mouse.lua")
-- Global keys
dofile(configdir .. "/globalkeys.lua")
--- Custom keys
+-- Key mappings
dofile(configdir .. "/keys.lua")
-- Rules
@@ -58,6 +55,3 @@ dofile(configdir .. "/rules.lua")
-- Signals
dofile(configdir .. "/signals.lua")
-
--- Startup commands
-dofile(configdir .. "/programs.lua")