aboutsummaryrefslogtreecommitdiff
path: root/config.dot/awesome.link/rc.lua
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-08-17 17:24:31 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-08-17 17:24:31 -0300
commit3f7027442ad7da6d89413b2b868c697b2fadad53 (patch)
tree62e681597fdd03c95f800c8db74456d05b7d2d07 /config.dot/awesome.link/rc.lua
parent5353762c8a79621ca668c42dcd4104901cf144bf (diff)
parent2bc3a810fe82f69d59c92d555f4461cdd6012cf8 (diff)
downloadawesome-3f7027442ad7da6d89413b2b868c697b2fadad53.tar.gz
awesome-3f7027442ad7da6d89413b2b868c697b2fadad53.tar.bz2
Merge branch 'feature/stretch'
Diffstat (limited to 'config.dot/awesome.link/rc.lua')
-rw-r--r--config.dot/awesome.link/rc.lua49
1 files changed, 23 insertions, 26 deletions
diff --git a/config.dot/awesome.link/rc.lua b/config.dot/awesome.link/rc.lua
index b2ae653..0998e3b 100644
--- a/config.dot/awesome.link/rc.lua
+++ b/config.dot/awesome.link/rc.lua
@@ -3,20 +3,18 @@ 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")
+-- Awesome library dependencies
+gears = require("gears")
+awful = require("awful")
+wibox = require("wibox")
+autofocus = require("awful.autofocus")
+beautiful = require("beautiful")
+naughty = require("naughty")
+lain = require("lain")
+freedesktop = require("freedesktop")
--- Theme handling library
-require("beautiful")
-
--- Notification library
-require("naughty")
-
--- Widget libraries
-require("vicious")
+-- Variables
+dofile(configdir .. "/variables.lua")
-- Load Debian menu entries
require("debian.menu")
@@ -26,23 +24,25 @@ if awful.util.file_readable(homedir .. "/.custom/awesome/settings.lua") then
dofile(homedir .. "/.custom/awesome/settings.lua")
end
--- Variables
-dofile(configdir .. "/variables.lua")
+-- Theme
+--beautiful.init(awful.util.get_themes_dir() .. "default/theme.lua")
+--beautiful.init(awful.util.get_themes_dir() .. "zenburn/theme.lua")
+beautiful.init(themes_dir .. "/multicolor/theme.lua")
+
+-- Layout
+dofile(configdir .. "/layout.lua")
--- Load theme
-beautiful.init(themes_dir .. "/powerarrow/theme.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 +50,7 @@ dofile(configdir .. "/mouse.lua")
-- Global keys
dofile(configdir .. "/globalkeys.lua")
--- Custom keys
+-- Key mappings
dofile(configdir .. "/keys.lua")
-- Rules
@@ -58,6 +58,3 @@ dofile(configdir .. "/rules.lua")
-- Signals
dofile(configdir .. "/signals.lua")
-
--- Startup commands
-dofile(configdir .. "/programs.lua")