ninwa/config.json

56 lines
No EOL
1.1 KiB
JSON

{
"log": {
"level": "debug",
"timestamp": "DD.MM.YYYY HH:mm:ss:SS"
},
"watchers": [
{
"device": "usb-Razer_Razer_Blade_Stealth-if01-event-kbd",
"restart": true,
"keys": [
{
"key": "key_f1",
"combo": [
"key_f2",
"key_f3"
],
"event": "EV_KEY",
"type": "keydown",
"command": "notify-send",
"args": [
"combo",
"{{ key }} {{ type }}"
]
},
{
"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 }}"
]
}
]
}
]
}