-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathrc.lua
36 lines (30 loc) · 815 Bytes
/
rc.lua
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
--
-- Author: jaypei <jaypei97159@gmail.com>
-- github.com/jaypei/hh-awesome
--
require("awful.autofocus")
local config = require("etc/config")
local lain = require("lain")
lain.helpers = require("lain.helpers")
first_line = lain.helpers.first_line
local notify = require("hh.notify")
notify.setup_runtime_errors_handler()
require("hh.startups")
require("hh.theme")
require("hh.tag")
require("hh.rule")
require("hh.wibox")
local hh_keys = require("hh.keys")
require("hh.signal")
-- Load hhrc
package.path =
config.hh_dotfile_dir ..
'/awesome/?.lua;' .. ';' ..
package.path
if lain.helpers.file_exists(config.hh_dotfile_dir .. "/awesome/hhrc.lua") then
require("hhrc")
end
-- monky patches
require("eminent")
root.buttons(hh_keys.global_keys.buttons)
root.keys(hh_keys.global_keys.keys)