-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocs.json
123 lines (104 loc) · 3.17 KB
/
docs.json
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
[
{
"Constant" : [
],
"submodules" : [
],
"Function" : [
],
"Variable" : [
],
"stripped_doc" : [
],
"Deprecated" : [
],
"type" : "Module",
"desc" : "Headspace allows you to protect your focus for certain tasks by creating",
"Constructor" : [
],
"items" : [
{
"def" : "Headspace:start() -> table",
"stripped_doc" : [
"Starts the application watcher that \"blocks\" applications and sets up",
"bindings for URL schemes.",
""
],
"doc" : "Starts the application watcher that \"blocks\" applications and sets up\nbindings for URL schemes.\n\nReturns:\n * self",
"name" : "start",
"notes" : [
],
"signature" : "Headspace:start() -> table",
"type" : "Method",
"returns" : [
" * self"
],
"desc" : "Starts the application watcher that \"blocks\" applications and sets up",
"parameters" : [
]
},
{
"def" : "Headspace:stop() -> table",
"stripped_doc" : [
],
"doc" : "Returns:\n * self",
"name" : "stop",
"notes" : [
],
"signature" : "Headspace:stop() -> table",
"type" : "Method",
"returns" : [
" * self"
],
"desc" : "",
"parameters" : [
]
}
],
"Method" : [
{
"def" : "Headspace:start() -> table",
"stripped_doc" : [
"Starts the application watcher that \"blocks\" applications and sets up",
"bindings for URL schemes.",
""
],
"doc" : "Starts the application watcher that \"blocks\" applications and sets up\nbindings for URL schemes.\n\nReturns:\n * self",
"name" : "start",
"notes" : [
],
"signature" : "Headspace:start() -> table",
"type" : "Method",
"returns" : [
" * self"
],
"desc" : "Starts the application watcher that \"blocks\" applications and sets up",
"parameters" : [
]
},
{
"def" : "Headspace:stop() -> table",
"stripped_doc" : [
],
"doc" : "Returns:\n * self",
"name" : "stop",
"notes" : [
],
"signature" : "Headspace:stop() -> table",
"type" : "Method",
"returns" : [
" * self"
],
"desc" : "",
"parameters" : [
]
}
],
"Command" : [
],
"Field" : [
],
"doc" : "Headspace allows you to protect your focus for certain tasks by creating\napplication blacklist or whitelists.\n\nHeadspace listens for URL schemes of the following format:\n`hammerspoon:\/\/setBlacklist?tags=comma,separated,tags&apps=comma,separated,names`\n`hammerspoon:\/\/setWhitelist?tags=comma,separated,tags&apps=comma,separated,names`\n`hammerspoon:\/\/stopHeadspace`\n\n`setBlacklist` and `setWhitelist` are exclusive. Setting a new list will\nwipe out the previous settings. If an app is either tagged in the\nfilesystem with a matching tag or it's name is in the `apps` list it will\nbe matched and the rules applied.",
"name" : "Headspace"
}
]