ninwa/config.json

41 lines
No EOL
778 B
JSON

{
"log": {
"level": "info",
"timestamp": "DD.MM.YYYY HH:mm:ss:SS"
},
"watchers": [
{
"device": "/dev/input/event10",
"keys": [
{
"key": "enter",
"type": "keydown",
"command": "notify-send",
"args": [
"{{ key }}",
"{{ type }}"
]
},
{
"key": "esc",
"type": "keyup",
"command": "notify-send",
"args": [
"{{ key }}",
"{{ type }}"
]
},
{
"key": "space",
"type": "keyhold",
"delay": 1000,
"command": "notify-send",
"args": [
"{{ key }}",
"{{ type }}"
]
}
]
}
]
}