-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrc.lua
67 lines (51 loc) · 2.48 KB
/
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
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
64
65
66
67
--
--
-- ▄▄▄ █ █░▓█████ ██████ ▒█████ ███▄ ▄███▓▓█████
-- ▒████▄ ▓█░ █ ░█░▓█ ▀ ▒██ ▒ ▒██▒ ██▒▓██▒▀█▀ ██▒▓█ ▀
-- ▒██ ▀█▄ ▒█░ █ ░█ ▒███ ░ ▓██▄ ▒██░ ██▒▓██ ▓██░▒███
-- ░██▄▄▄▄██ ░█░ █ ░█ ▒▓█ ▄ ▒ ██▒▒██ ██░▒██ ▒██ ▒▓█ ▄
-- ▓█ ▓██▒░░██▒██▓ ░▒████▒▒██████▒▒░ ████▓▒░▒██▒ ░██▒░▒████▒
-- ▒▒ ▓▒█░░ ▓░▒ ▒ ░░ ▒░ ░▒ ▒▓▒ ▒ ░░ ▒░▒░▒░ ░ ▒░ ░ ░░░ ▒░ ░
-- ▒ ▒▒ ░ ▒ ░ ░ ░ ░ ░░ ░▒ ░ ░ ░ ▒ ▒░ ░ ░ ░ ░ ░ ░
-- ░ ▒ ░ ░ ░ ░ ░ ░ ░ ░ ░ ▒ ░ ░ ░
-- ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░
--
--
local awful = require("awful")
local beautiful = require("beautiful")
require("config.errorhandling")
beautiful.init(awful.util.getdir("config") .. "theme.lua" )
-- window decorations (titlebars)
require("decorations")
-- init configs
require("config.wallpaper")
require("config.layout")
require("config.rules")
require("config.tags")
require("modules.keybindings")
-- init daemons
require("evil")
-- init widgets
require("modules.ui.dashboard")
require("modules.ui.topbar")
require("modules.ui.popup")
--require("modules.ui.dock")
require("modules.ui.notifications")
require("awful.autofocus")
-- {{{ Signals
-- Signal function to execute when a new client appears.
client.connect_signal("manage", function (c)
-- Set the windows at the slave,
-- i.e. put it at the end of others instead of setting it master.
-- if not awesome.startup then awful.client.setslave(c) end
if awesome.startup
and not c.size_hints.user_position
and not c.size_hints.program_position then
-- Prevent clients from being unreachable after screen count changes.
awful.placement.no_offscreen(c)
end
end)
-- autorun programs
awful.spawn.with_shell("~/.config/awesome/config/autorun.sh")
require("widgets.tasklist")
--require("wirefu")