ninwa/config.json

56 lines
1.1 KiB
JSON
Raw Normal View History

2022-02-15 04:33:19 +01:00
{
"log": {
"level": "debug",
2022-02-15 04:33:19 +01:00
"timestamp": "DD.MM.YYYY HH:mm:ss:SS"
},
"watchers": [
{
"device": "usb-Razer_Razer_Blade_Stealth-if01-event-kbd",
"restart": true,
2022-02-15 04:33:19 +01:00
"keys": [
2022-03-03 03:35:34 +01:00
{
"key": "key_f1",
"combo": [
"key_f2",
"key_f3"
],
"event": "EV_KEY",
"type": "keydown",
"command": "notify-send",
"args": [
"combo",
"{{ key }} {{ type }}"
]
},
2022-02-15 04:33:19 +01:00
{
"key": "key_enter",
2022-02-15 04:33:19 +01:00
"type": "keydown",
"command": "notify-send",
"args": [
"{{ key }}",
"{{ type }}"
2022-02-15 04:33:19 +01:00
]
},
{
"key": "key_esc",
2022-02-15 04:33:19 +01:00
"type": "keyup",
"command": "notify-send",
"args": [
"{{ key }}",
"{{ type }}"
2022-02-15 04:33:19 +01:00
]
},
{
"key": "key_space",
2022-02-15 04:33:19 +01:00
"type": "keyhold",
"delay": 1000,
"command": "notify-send",
"args": [
"{{ key }}",
"{{ type }}"
2022-02-15 04:33:19 +01:00
]
}
]
}
]
}