-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathzazu.json
69 lines (69 loc) · 1.4 KB
/
zazu.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
{
"name": "Zazu Snippets",
"icon": "snip.svg",
"stylesheet": "css/preview.css",
"blocks": {
"input": [
{
"id": "Read",
"type": "PrefixScript",
"prefix": "snip",
"space": true,
"args": "Required",
"script": "src/read.js",
"connections": [
"Copy"
]
},
{
"id": "Write",
"type": "PrefixScript",
"prefix": "snipc",
"space": true,
"args": "Required",
"script": "src/write.js",
"connections": [
"WriteSnippet"
]
},
{
"id": "Delete",
"type": "PrefixScript",
"prefix": "snipd",
"space": true,
"args": "Required",
"script": "src/delete.js",
"connections": [
"DeleteSnippet"
]
}
],
"output": [
{
"id": "Copy",
"type": "CopyToClipboard",
"text": "{value}"
},
{
"id": "WriteSnippet",
"type": "UserScript",
"script": "src/writeSnippet.js",
"value": "{value}"
},
{
"id": "DeleteSnippet",
"type": "UserScript",
"script": "src/deleteSnippet.js",
"value": "{value}"
}
],
"external": [
{
"id": "Direct",
"type": "Hotkey",
"hotkey": "CmdOrCtrl+Alt+Space",
"connections": [ "Write" ]
}
]
}
}