aboutsummaryrefslogtreecommitdiff
path: root/config.dot/awesome.link/rc.lua
blob: adf4e822e06c410af1f2e4fa25ade22a632c5a86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
-- Basic settings
homedir    = os.getenv("HOME")
configdir  = homedir   .. "/.config/awesome"
themes_dir = configdir .. "/themes"

-- 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")

-- Variables
dofile(configdir .. "/variables.lua")

-- Load Debian menu entries
require("debian.menu")

-- Custom config
if awful.util.file_readable(homedir .. "/.custom/awesome/settings.lua") then
  dofile(homedir .. "/.custom/awesome/settings.lua")
end

-- 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")

-- Menu
dofile(configdir .. "/menu.lua")

-- Wibar
dofile(configdir .. "/wibar.lua")

-- Mouse
dofile(configdir .. "/mouse.lua")

-- Global keys
dofile(configdir .. "/globalkeys.lua")

-- Key mappings
dofile(configdir .. "/keys.lua")

-- Rules
dofile(configdir .. "/rules.lua")

-- Signals
dofile(configdir .. "/signals.lua")