-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patharvis-plugin.json
40 lines (40 loc) · 1.26 KB
/
arvis-plugin.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
{
"$schema": "https://raw.githubusercontent.com/jopemachine/arvis-extension-validator/master/plugin-schema.json",
"creator": "jopemachine",
"name": "arvis-freedict-plugin",
"enabled": true,
"description": "Dictionary plugin for Arvis using dictionaryapi.dev",
"readme": "Dictionary plugin for Arvis using dictionaryapi.dev",
"version": "0.1.6",
"defaultIcon": "icon.png",
"variables": {
"lang": "en_US"
},
"main": "index.js",
"webAddress": "https://github.com/arvis-plugins/arvis-freedict-plugin",
"actions": [
{
"type": "cond",
"modifiers": "normal",
"if": {
"cond": "{var:action} == 'clipboard'",
"actions": {
"then": [
{
"type": "clipboard",
"modifiers": "normal",
"text": "{query}"
}
],
"else": [
{
"type": "open",
"modifiers": "normal",
"target": "{query}"
}
]
}
}
}
]
}