ninwa/config.json

42 lines
No EOL
841 B
JSON

{
"log": {
"level": "debug",
"timestamp": "DD.MM.YYYY HH:mm:ss:SS"
},
"watchers": [
{
"device": "usb-Razer_Razer_Blade_Stealth-if01-event-kbd",
"grep": "EV_KEY",
"keys": [
{
"key": "key_enter",
"type": "keydown",
"command": "notify-send",
"args": [
"{{ key }}",
"{{ type }}"
]
},
{
"key": "key_esc",
"type": "keyup",
"command": "notify-send",
"args": [
"{{ key }}",
"{{ type }}"
]
},
{
"key": "key_space",
"type": "keyhold",
"delay": 1000,
"command": "notify-send",
"args": [
"{{ key }}",
"{{ type }}"
]
}
]
}
]
}