aboutsummaryrefslogtreecommitdiff
path: root/config.dot/awesome.link/rc.lua
blob: 32e98a64da5361e4cd80828bff1a2c59323500a3 (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
59
60
61
62
63
-- Basic settings
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")

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

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

-- Load theme
beautiful.init(themes_dir .. "/powerarrow/theme.lua")

-- Misc functions
dofile(configdir .. "/functions.lua")

-- Tags
dofile(configdir .. "/tags.lua")

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

-- Wibox
dofile(configdir .. "/wibox.lua")

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

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

-- Custom keys
dofile(configdir .. "/keys.lua")

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

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

-- Startup commands
dofile(configdir .. "/programs.lua")