{
    "$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}"
                        }
                    ]
                }
            }
        }
    ]
}