ninwa/config.json

41 lines
778 B
JSON
Raw Normal View History

2022-02-15 04:33:19 +01:00
{
"log": {
"level": "info",
2022-02-15 04:33:19 +01:00
"timestamp": "DD.MM.YYYY HH:mm:ss:SS"
},
"watchers": [
{
"device": "/dev/input/event10",
2022-02-15 04:33:19 +01:00
"keys": [
{
"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": "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": "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
]
}
]
}
]
}