-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocs.json
462 lines (452 loc) · 29.1 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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
[
{
"Constant" : [
],
"submodules" : [
],
"Function" : [
{
"doc" : "Callback for when the curl command finishes downloading the image.\n\nThis function is used internally by the RandomBackground Spoon.\nIt's intended to be used as a callback function for the 'hs.task' that downloads an image using the curl command.\n\nParameters:\n * exitCode - A number containing the exit code of the task.\n * stdOut - A string containing the standard output of the task.\n * stdErr - A string containing the standard error of the task.\n\nReturns:\n * None.\n\nNotes:\n * If the task finishes successfully (exitCode == 0), this function sets the downloaded image as the desktop background on the main screen and logs a success message.\n * If the task does not finish successfully, this function logs an error message along with the standard output and standard error of the task.",
"desc" : "Callback for when the curl command finishes downloading the image.",
"parameters" : [
" * exitCode - A number containing the exit code of the task.",
" * stdOut - A string containing the standard output of the task.",
" * stdErr - A string containing the standard error of the task.",
""
],
"stripped_doc" : [
"Callback for when the curl command finishes downloading the image.",
"",
"This function is used internally by the RandomBackground Spoon.",
"It's intended to be used as a callback function for the 'hs.task' that downloads an image using the curl command.",
""
],
"notes" : [
" * If the task finishes successfully (exitCode == 0), this function sets the downloaded image as the desktop background on the main screen and logs a success message.",
" * If the task does not finish successfully, this function logs an error message along with the standard output and standard error of the task."
],
"signature" : "RandomBackground.curl_download_callback(exitCode, stdOut, stdErr) -> nil",
"type" : "Function",
"returns" : [
" * None.",
""
],
"def" : "RandomBackground.curl_download_callback(exitCode, stdOut, stdErr) -> nil",
"name" : "curl_download_callback"
},
{
"doc" : "Extracts and returns the download link from a response body.\n\nThis function is used internally by the RandomBackground Spoon.\nIt's intended to be used to parse the response body from an Unsplash API call and extract the image download link.\n\nParameters:\n * response_body - A string containing the response body, expected to be in JSON format.\n\nReturns:\n * If successful, a string containing the download link.\n * If unsuccessful (due to the response body not being valid JSON or not containing a `links.download` field), it returns `nil`.\n\nNotes:\n * This function uses the protected call (`pcall`) function in Lua to handle potential errors when decoding the JSON response body.\n * If the decoding fails (due to invalid JSON, for example), it will return `nil`.",
"desc" : "Extracts and returns the download link from a response body.",
"parameters" : [
" * response_body - A string containing the response body, expected to be in JSON format.",
""
],
"stripped_doc" : [
"Extracts and returns the download link from a response body.",
"",
"This function is used internally by the RandomBackground Spoon.",
"It's intended to be used to parse the response body from an Unsplash API call and extract the image download link.",
""
],
"notes" : [
" * This function uses the protected call (`pcall`) function in Lua to handle potential errors when decoding the JSON response body.",
" * If the decoding fails (due to invalid JSON, for example), it will return `nil`."
],
"signature" : "RandomBackground.get_download_link(response_body)",
"type" : "Function",
"returns" : [
" * If successful, a string containing the download link.",
" * If unsuccessful (due to the response body not being valid JSON or not containing a `links.download` field), it returns `nil`.",
""
],
"def" : "RandomBackground.get_download_link(response_body)",
"name" : "get_download_link"
},
{
"doc" : "Downloads an image from a given URL and stores it in the system's Trash folder.\n\nThis function is intended to be used internally by the RandomBackground Spoon.\nIt is called by the `set_new_background` function once a suitable image URL has been fetched from the Unsplash API.\nPrior to the download, it cancels any previous download task.\nIt then sets the download path to the system's Trash folder and initiates the download task using `hs.task.new`.\n\nParameters:\n * image_url - A string containing the URL of the image to be downloaded.\n\nReturns:\n * None\n\nNotes:\n * This function will log information about its progress, including the URL of the image being downloaded.\n * The downloaded image file is saved with a hashed name to prevent naming conflicts.\n * The image is saved in the Trash folder as it is intended to be a temp file used only for setting the wallpaper.",
"desc" : "Downloads an image from a given URL and stores it in the system's Trash folder.",
"parameters" : [
" * image_url - A string containing the URL of the image to be downloaded.",
""
],
"stripped_doc" : [
"Downloads an image from a given URL and stores it in the system's Trash folder.",
"",
"This function is intended to be used internally by the RandomBackground Spoon.",
"It is called by the `set_new_background` function once a suitable image URL has been fetched from the Unsplash API.",
"Prior to the download, it cancels any previous download task.",
"It then sets the download path to the system's Trash folder and initiates the download task using `hs.task.new`.",
""
],
"notes" : [
" * This function will log information about its progress, including the URL of the image being downloaded.",
" * The downloaded image file is saved with a hashed name to prevent naming conflicts.",
" * The image is saved in the Trash folder as it is intended to be a temp file used only for setting the wallpaper."
],
"signature" : "RandomBackground.download_img_request(image_url)",
"type" : "Function",
"returns" : [
" * None",
""
],
"def" : "RandomBackground.download_img_request(image_url)",
"name" : "download_img_request"
},
{
"doc" : "Sets a new background for the system using a randomly fetched image from Unsplash.\n\nThis function is intended to be used internally by the RandomBackground Spoon.\nIt is triggered by a timer started in the `start()` method.\nIt sends an asynchronous GET request to the Unsplash API to fetch a random landscape image.\nIf the request is successful, it proceeds to download and set the image as the background.\n\nParameters:\n * None\n\nReturns:\n * None\n\nNotes:\n * This function will log information about its progress, including whether the API request and image parsing were successful,\n and the remaining rate limit for the Unsplash API.",
"desc" : "Sets a new background for the system using a randomly fetched image from Unsplash.",
"parameters" : [
" * None",
""
],
"stripped_doc" : [
"Sets a new background for the system using a randomly fetched image from Unsplash.",
"",
"This function is intended to be used internally by the RandomBackground Spoon.",
"It is triggered by a timer started in the `start()` method.",
"It sends an asynchronous GET request to the Unsplash API to fetch a random landscape image.",
"If the request is successful, it proceeds to download and set the image as the background.",
""
],
"notes" : [
" * This function will log information about its progress, including whether the API request and image parsing were successful,",
" and the remaining rate limit for the Unsplash API."
],
"signature" : "RandomBackground.set_new_background()",
"type" : "Function",
"returns" : [
" * None",
""
],
"def" : "RandomBackground.set_new_background()",
"name" : "set_new_background"
}
],
"Variable" : [
],
"stripped_doc" : [
],
"Deprecated" : [
],
"type" : "Module",
"desc" : "Use Unsplash API to set a random background image for your desktop",
"Constructor" : [
],
"doc" : "Use Unsplash API to set a random background image for your desktop\n\nDownload: [https:\/\/github.com\/roeeyn\/RandomBackground.spoon\/releases\/download\/v1.1.0\/RandomBackground.spoon.zip](https:\/\/github.com\/roeeyn\/RandomBackground.spoon\/releases\/download\/v1.1.0\/RandomBackground.spoon.zip)",
"items" : [
{
"doc" : "Callback for when the curl command finishes downloading the image.\n\nThis function is used internally by the RandomBackground Spoon.\nIt's intended to be used as a callback function for the 'hs.task' that downloads an image using the curl command.\n\nParameters:\n * exitCode - A number containing the exit code of the task.\n * stdOut - A string containing the standard output of the task.\n * stdErr - A string containing the standard error of the task.\n\nReturns:\n * None.\n\nNotes:\n * If the task finishes successfully (exitCode == 0), this function sets the downloaded image as the desktop background on the main screen and logs a success message.\n * If the task does not finish successfully, this function logs an error message along with the standard output and standard error of the task.",
"desc" : "Callback for when the curl command finishes downloading the image.",
"parameters" : [
" * exitCode - A number containing the exit code of the task.",
" * stdOut - A string containing the standard output of the task.",
" * stdErr - A string containing the standard error of the task.",
""
],
"stripped_doc" : [
"Callback for when the curl command finishes downloading the image.",
"",
"This function is used internally by the RandomBackground Spoon.",
"It's intended to be used as a callback function for the 'hs.task' that downloads an image using the curl command.",
""
],
"notes" : [
" * If the task finishes successfully (exitCode == 0), this function sets the downloaded image as the desktop background on the main screen and logs a success message.",
" * If the task does not finish successfully, this function logs an error message along with the standard output and standard error of the task."
],
"signature" : "RandomBackground.curl_download_callback(exitCode, stdOut, stdErr) -> nil",
"type" : "Function",
"returns" : [
" * None.",
""
],
"def" : "RandomBackground.curl_download_callback(exitCode, stdOut, stdErr) -> nil",
"name" : "curl_download_callback"
},
{
"doc" : "Downloads an image from a given URL and stores it in the system's Trash folder.\n\nThis function is intended to be used internally by the RandomBackground Spoon.\nIt is called by the `set_new_background` function once a suitable image URL has been fetched from the Unsplash API.\nPrior to the download, it cancels any previous download task.\nIt then sets the download path to the system's Trash folder and initiates the download task using `hs.task.new`.\n\nParameters:\n * image_url - A string containing the URL of the image to be downloaded.\n\nReturns:\n * None\n\nNotes:\n * This function will log information about its progress, including the URL of the image being downloaded.\n * The downloaded image file is saved with a hashed name to prevent naming conflicts.\n * The image is saved in the Trash folder as it is intended to be a temp file used only for setting the wallpaper.",
"desc" : "Downloads an image from a given URL and stores it in the system's Trash folder.",
"parameters" : [
" * image_url - A string containing the URL of the image to be downloaded.",
""
],
"stripped_doc" : [
"Downloads an image from a given URL and stores it in the system's Trash folder.",
"",
"This function is intended to be used internally by the RandomBackground Spoon.",
"It is called by the `set_new_background` function once a suitable image URL has been fetched from the Unsplash API.",
"Prior to the download, it cancels any previous download task.",
"It then sets the download path to the system's Trash folder and initiates the download task using `hs.task.new`.",
""
],
"notes" : [
" * This function will log information about its progress, including the URL of the image being downloaded.",
" * The downloaded image file is saved with a hashed name to prevent naming conflicts.",
" * The image is saved in the Trash folder as it is intended to be a temp file used only for setting the wallpaper."
],
"signature" : "RandomBackground.download_img_request(image_url)",
"type" : "Function",
"returns" : [
" * None",
""
],
"def" : "RandomBackground.download_img_request(image_url)",
"name" : "download_img_request"
},
{
"doc" : "Extracts and returns the download link from a response body.\n\nThis function is used internally by the RandomBackground Spoon.\nIt's intended to be used to parse the response body from an Unsplash API call and extract the image download link.\n\nParameters:\n * response_body - A string containing the response body, expected to be in JSON format.\n\nReturns:\n * If successful, a string containing the download link.\n * If unsuccessful (due to the response body not being valid JSON or not containing a `links.download` field), it returns `nil`.\n\nNotes:\n * This function uses the protected call (`pcall`) function in Lua to handle potential errors when decoding the JSON response body.\n * If the decoding fails (due to invalid JSON, for example), it will return `nil`.",
"desc" : "Extracts and returns the download link from a response body.",
"parameters" : [
" * response_body - A string containing the response body, expected to be in JSON format.",
""
],
"stripped_doc" : [
"Extracts and returns the download link from a response body.",
"",
"This function is used internally by the RandomBackground Spoon.",
"It's intended to be used to parse the response body from an Unsplash API call and extract the image download link.",
""
],
"notes" : [
" * This function uses the protected call (`pcall`) function in Lua to handle potential errors when decoding the JSON response body.",
" * If the decoding fails (due to invalid JSON, for example), it will return `nil`."
],
"signature" : "RandomBackground.get_download_link(response_body)",
"type" : "Function",
"returns" : [
" * If successful, a string containing the download link.",
" * If unsuccessful (due to the response body not being valid JSON or not containing a `links.download` field), it returns `nil`.",
""
],
"def" : "RandomBackground.get_download_link(response_body)",
"name" : "get_download_link"
},
{
"doc" : "Sets a new background for the system using a randomly fetched image from Unsplash.\n\nThis function is intended to be used internally by the RandomBackground Spoon.\nIt is triggered by a timer started in the `start()` method.\nIt sends an asynchronous GET request to the Unsplash API to fetch a random landscape image.\nIf the request is successful, it proceeds to download and set the image as the background.\n\nParameters:\n * None\n\nReturns:\n * None\n\nNotes:\n * This function will log information about its progress, including whether the API request and image parsing were successful,\n and the remaining rate limit for the Unsplash API.",
"desc" : "Sets a new background for the system using a randomly fetched image from Unsplash.",
"parameters" : [
" * None",
""
],
"stripped_doc" : [
"Sets a new background for the system using a randomly fetched image from Unsplash.",
"",
"This function is intended to be used internally by the RandomBackground Spoon.",
"It is triggered by a timer started in the `start()` method.",
"It sends an asynchronous GET request to the Unsplash API to fetch a random landscape image.",
"If the request is successful, it proceeds to download and set the image as the background.",
""
],
"notes" : [
" * This function will log information about its progress, including whether the API request and image parsing were successful,",
" and the remaining rate limit for the Unsplash API."
],
"signature" : "RandomBackground.set_new_background()",
"type" : "Function",
"returns" : [
" * None",
""
],
"def" : "RandomBackground.set_new_background()",
"name" : "set_new_background"
},
{
"doc" : "Initializes the RandomBackground Spoon.\n\nThis function is called automatically by Hammerspoon during the creation of the Spoon object.\nThe initialization involves preparing resources that would be needed by the Spoon for later use.\nNote: It is not recommended to start timers, watchers, or map hotkeys in this method.\n\nThe init method does not start the functionality of the RandomBackground spoon,\nas the necessary API key from the config table is not accessible until the setup is completed (i.e., the start method is called).\n\nExample usage:\nspoon.RandomBackground:init()\n\nReturns:\n * None\n\nNotes:\n * The Hammerspoon user has the option to override the automatic calling of this method.\n * For more details, see: https:\/\/github.com\/Hammerspoon\/hammerspoon\/blob\/master\/SPOONS.md#how-do-i-create-a-spoon",
"desc" : "Initializes the RandomBackground Spoon.",
"parameters" : [
],
"stripped_doc" : [
"Initializes the RandomBackground Spoon.",
"",
"This function is called automatically by Hammerspoon during the creation of the Spoon object.",
"The initialization involves preparing resources that would be needed by the Spoon for later use.",
"Note: It is not recommended to start timers, watchers, or map hotkeys in this method.",
"",
"The init method does not start the functionality of the RandomBackground spoon,",
"as the necessary API key from the config table is not accessible until the setup is completed (i.e., the start method is called).",
"",
"Example usage:",
"spoon.RandomBackground:init()",
""
],
"notes" : [
" * The Hammerspoon user has the option to override the automatic calling of this method.",
" * For more details, see: https:\/\/github.com\/Hammerspoon\/hammerspoon\/blob\/master\/SPOONS.md#how-do-i-create-a-spoon"
],
"signature" : "RandomBackground:init()",
"type" : "Method",
"returns" : [
" * None",
""
],
"def" : "RandomBackground:init()",
"name" : "init"
},
{
"doc" : "This method starts the RandomBackground spoon. It sets the URL for the Unsplash API with the provided API key.\nand initiates the timer to change the desktop background.\n\nParameters:\n * None\n\nReturns:\n * `false` if the Unsplash API key is not provided or is an empty string.\n In this case, the method also logs an error message and stops the execution of the spoon.\n * No explicit return (i.e., `nil`) in case of successful operation.\n\nNotes:\n * The Unsplash API key must be provided for this method to start the spoon successfully.\n * If the key is not provided, the method will not start the spoon and will return `false`.\n * If there's no existing timer, it creates a new one that triggers the `set_new_background` method\n every `UPDATE_INTERVAL_SECONDS` seconds.\n * The first trigger happens after a 5-second delay.\n * If a timer already exists, it simply restarts it.\n\nExample usage:\nspoon.RandomBackground:start()",
"desc" : "",
"parameters" : [
" * None",
""
],
"stripped_doc" : [
"This method starts the RandomBackground spoon. It sets the URL for the Unsplash API with the provided API key.",
"and initiates the timer to change the desktop background.",
""
],
"notes" : [
" * The Unsplash API key must be provided for this method to start the spoon successfully.",
" * If the key is not provided, the method will not start the spoon and will return `false`.",
" * If there's no existing timer, it creates a new one that triggers the `set_new_background` method",
" every `UPDATE_INTERVAL_SECONDS` seconds.",
" * The first trigger happens after a 5-second delay.",
" * If a timer already exists, it simply restarts it.",
"",
"Example usage:",
"spoon.RandomBackground:start()"
],
"signature" : "RandomBackground:start()",
"type" : "Method",
"returns" : [
" * `false` if the Unsplash API key is not provided or is an empty string.",
" In this case, the method also logs an error message and stops the execution of the spoon.",
" * No explicit return (i.e., `nil`) in case of successful operation.",
""
],
"def" : "RandomBackground:start()",
"name" : "start"
},
{
"doc" : "Stops the RandomBackground Spoon.\n\nThis function is used to stop the functionality of the RandomBackground Spoon.\nIf a timer has been started by the Spoon, it is stopped when this method is called.\n\nExample usage:\nspoon.RandomBackground:stop()\n\nParameters:\n * None\n\nReturns:\n * None\n\nNotes:\n * This method stops the RandomBackground Spoon and any associated timers.",
"desc" : "Stops the RandomBackground Spoon.",
"parameters" : [
" * None",
""
],
"stripped_doc" : [
"Stops the RandomBackground Spoon.",
"",
"This function is used to stop the functionality of the RandomBackground Spoon.",
"If a timer has been started by the Spoon, it is stopped when this method is called.",
"",
"Example usage:",
"spoon.RandomBackground:stop()",
""
],
"notes" : [
" * This method stops the RandomBackground Spoon and any associated timers."
],
"signature" : "RandomBackground:stop()",
"type" : "Method",
"returns" : [
" * None",
""
],
"def" : "RandomBackground:stop()",
"name" : "stop"
}
],
"Command" : [
],
"Field" : [
],
"Method" : [
{
"doc" : "This method starts the RandomBackground spoon. It sets the URL for the Unsplash API with the provided API key.\nand initiates the timer to change the desktop background.\n\nParameters:\n * None\n\nReturns:\n * `false` if the Unsplash API key is not provided or is an empty string.\n In this case, the method also logs an error message and stops the execution of the spoon.\n * No explicit return (i.e., `nil`) in case of successful operation.\n\nNotes:\n * The Unsplash API key must be provided for this method to start the spoon successfully.\n * If the key is not provided, the method will not start the spoon and will return `false`.\n * If there's no existing timer, it creates a new one that triggers the `set_new_background` method\n every `UPDATE_INTERVAL_SECONDS` seconds.\n * The first trigger happens after a 5-second delay.\n * If a timer already exists, it simply restarts it.\n\nExample usage:\nspoon.RandomBackground:start()",
"desc" : "",
"parameters" : [
" * None",
""
],
"stripped_doc" : [
"This method starts the RandomBackground spoon. It sets the URL for the Unsplash API with the provided API key.",
"and initiates the timer to change the desktop background.",
""
],
"notes" : [
" * The Unsplash API key must be provided for this method to start the spoon successfully.",
" * If the key is not provided, the method will not start the spoon and will return `false`.",
" * If there's no existing timer, it creates a new one that triggers the `set_new_background` method",
" every `UPDATE_INTERVAL_SECONDS` seconds.",
" * The first trigger happens after a 5-second delay.",
" * If a timer already exists, it simply restarts it.",
"",
"Example usage:",
"spoon.RandomBackground:start()"
],
"signature" : "RandomBackground:start()",
"type" : "Method",
"returns" : [
" * `false` if the Unsplash API key is not provided or is an empty string.",
" In this case, the method also logs an error message and stops the execution of the spoon.",
" * No explicit return (i.e., `nil`) in case of successful operation.",
""
],
"def" : "RandomBackground:start()",
"name" : "start"
},
{
"doc" : "Stops the RandomBackground Spoon.\n\nThis function is used to stop the functionality of the RandomBackground Spoon.\nIf a timer has been started by the Spoon, it is stopped when this method is called.\n\nExample usage:\nspoon.RandomBackground:stop()\n\nParameters:\n * None\n\nReturns:\n * None\n\nNotes:\n * This method stops the RandomBackground Spoon and any associated timers.",
"desc" : "Stops the RandomBackground Spoon.",
"parameters" : [
" * None",
""
],
"stripped_doc" : [
"Stops the RandomBackground Spoon.",
"",
"This function is used to stop the functionality of the RandomBackground Spoon.",
"If a timer has been started by the Spoon, it is stopped when this method is called.",
"",
"Example usage:",
"spoon.RandomBackground:stop()",
""
],
"notes" : [
" * This method stops the RandomBackground Spoon and any associated timers."
],
"signature" : "RandomBackground:stop()",
"type" : "Method",
"returns" : [
" * None",
""
],
"def" : "RandomBackground:stop()",
"name" : "stop"
},
{
"doc" : "Initializes the RandomBackground Spoon.\n\nThis function is called automatically by Hammerspoon during the creation of the Spoon object.\nThe initialization involves preparing resources that would be needed by the Spoon for later use.\nNote: It is not recommended to start timers, watchers, or map hotkeys in this method.\n\nThe init method does not start the functionality of the RandomBackground spoon,\nas the necessary API key from the config table is not accessible until the setup is completed (i.e., the start method is called).\n\nExample usage:\nspoon.RandomBackground:init()\n\nReturns:\n * None\n\nNotes:\n * The Hammerspoon user has the option to override the automatic calling of this method.\n * For more details, see: https:\/\/github.com\/Hammerspoon\/hammerspoon\/blob\/master\/SPOONS.md#how-do-i-create-a-spoon",
"desc" : "Initializes the RandomBackground Spoon.",
"parameters" : [
],
"stripped_doc" : [
"Initializes the RandomBackground Spoon.",
"",
"This function is called automatically by Hammerspoon during the creation of the Spoon object.",
"The initialization involves preparing resources that would be needed by the Spoon for later use.",
"Note: It is not recommended to start timers, watchers, or map hotkeys in this method.",
"",
"The init method does not start the functionality of the RandomBackground spoon,",
"as the necessary API key from the config table is not accessible until the setup is completed (i.e., the start method is called).",
"",
"Example usage:",
"spoon.RandomBackground:init()",
""
],
"notes" : [
" * The Hammerspoon user has the option to override the automatic calling of this method.",
" * For more details, see: https:\/\/github.com\/Hammerspoon\/hammerspoon\/blob\/master\/SPOONS.md#how-do-i-create-a-spoon"
],
"signature" : "RandomBackground:init()",
"type" : "Method",
"returns" : [
" * None",
""
],
"def" : "RandomBackground:init()",
"name" : "init"
}
],
"name" : "RandomBackground"
}
]