-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.lua
38 lines (31 loc) · 952 Bytes
/
init.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
-- luacheck: globals hs spoon
local logger = require("hs.logger")
local log = logger.new("Init")
log.df("Starting Hammerspoon")
local success, speech = pcall(require, "hs.speech")
if not success then
log.ef("Error in 'hs.speech': %s", speech)
return
end
local speaker = speech.new()
hs.loadSpoon("SpoonInstall")
spoon.SpoonInstall.repos.doiken = {
url = "https://github.com/doiken/Spoons",
desc = "Repositorio de cucharas de doiken",
}
spoon.SpoonInstall.use_syncinstall = true
spoon.SpoonInstall:updateAllRepos()
local config = require("core.config")
log.df("Load Modules Starting")
require("mod.default")(config)
require("mod.widget")(config)
require("mod.windows")(config)
require("mod.wifi")(config)
require("mod.hooks")(config)
require("mod.apps")(config)
require("mod.tools")(config)
require("mod.work")(config)
log.df("Load Modules Finished")
if speaker then
speaker:speak(os.getenv("USER") .. ", ¡Happy Coding!")
end