-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrc.lua
38 lines (28 loc) · 755 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
37
38
pcall(require, "luarocks.loader")
local awful = require("awful")
local gears = require("gears")
require("awful.autofocus")
-- Beautiful
require("themes")
-- Signals
require("signals")
--Daemons
require("daemons")
-- Components
require("components")
-- Keys
require("keys")
-- Client rules
require("rules")
-- Notifications
require("notifications")
-- Autostart Applications
awful.spawn.single_instance("xfsettingsd", false)
awful.spawn.single_instance("picom", false)
awful.spawn.single_instance("/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1", false)
-- Run garbage collector regularly to prevent memory leaks
gears.timer {
timeout = 30,
autostart = true,
callback = function() collectgarbage("collect") end
}