-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.lua
81 lines (75 loc) · 1.68 KB
/
config.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
78
79
80
81
local config = {}
config.modules = {
-- "arrangement",
-- "monitors",
-- "repl",
-- "reload",
-- "arrows",
-- "lock",
-- "fullscreen"
"slide",
"safari_inspector",
"outlook",
"default_window_sizes",
"spotify",
"chrome_profiles"
}
-- Maps monitor id -> screen index.
config.monitors = {
autodiscover = true,
rows = 1
}
-- Nudge (window)
config.nudge = {
step = 50
}
-- Window arrangements.
config.arrangements = {
fuzzy_search = {
mash = {"cmd", "ctrl", "alt"},
key = "Z"
},
{
name = "zen",
alert = true,
mash = { "cmd", "ctrl", "alt" },
key = "A",
arrangement = {
{
app_title = "^Mail",
monitor = 1,
position = "full_screen",
},
{
app_title = "^Slack",
monitor = 4,
position = "left"
},
{
app_title = "^Messages",
monitor = 4,
position = function(d)
return d:translate_from('bottom_right', {
y = 42,
h = -40
})
end
},
{
app_title = "^ChronoMate",
monitor = 4,
position = function(d)
return d:translate_from('top_right', {
h = 42
})
end
},
{
app_title = "^Spotify",
monitor = 6,
position = "full_screen",
}
}
}
}
return config