-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit.lua
77 lines (67 loc) · 1.96 KB
/
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
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
68
69
70
71
72
73
74
75
76
77
hyper = {"cmd","alt","ctrl"}
shift_hyper = {"cmd","alt","ctrl","shift"}
-- Load SpoonInstall spoon to download and install Spoons from oficial repository
hs.loadSpoon("SpoonInstall")
spoon.SpoonInstall.use_syncinstall = true
-- Install hs CLI
hs.ipc.cliInstall()
Install = spoon.SpoonInstall
Install:andUse("WindowHalfsAndThirds",
{
config = {
use_frame_correctness = false
},
hotkeys = 'default'
}
)
Install:andUse("WindowScreenLeftAndRight",
{
hotkeys = 'default'
}
)
Install:andUse("WindowGrid",
{
config = {
gridGeometries = { { "6x4" } }
},
hotkeys = { show_grid = { hyper, 'g'} },
start = true
}
)
Install:andUse("TextClipboardHistory",
{
config = {
show_in_menubar = false,
},
hotkeys = {
toggle_clipboard = { { "cmd", "shift" }, "v" } },
start = true,
}
)
Install:andUse("BrewInfo",
{
config = {
brew_info_delay_sec = 20,
brew_info_style = {
textFont = "Inconsolata",
textSize = 14,
radius = 10 }
},
hotkeys = {
-- brew info
show_brew_info = {hyper, "b"},
open_brew_url = {shift_hyper, "b"},
-- brew cask info
show_brew_cask_info = {hyper, "c"},
open_brew_cask_url = {shift_hyper, "c"},
}
}
)
Install:andUse("FadeLogo",
{
config = {
default_run = 1.0,
},
start = true
}
)