ninwa/config.json

62 lines
1.3 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": "/dev/input/by-id/usb-Chicony_HP_Elite_USB_Keyboard-event-kbd",
"restart": true,
"sudo": 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",
2022-03-03 03:52:34 +01:00
"delay": 3000,
2022-03-03 03:35:34 +01:00
"command": "notify-send",
"args": [
"combo",
"{{ key }} {{ type }}"
],
"sudo": false
2022-03-03 03:35:34 +01:00
},
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 }}"
],
"sudo": false
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 }}"
],
"sudo": false
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 }}"
],
"sudo": false
2022-02-15 04:33:19 +01:00
}
]
}
]
}