ninwa/config.json
2022-03-03 03:52:34 +01:00

57 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",
"delay": 3000,
"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 }}"
]
}
]
}
]
}