- Web-based key editor (Alpine.js SPA) - Actions: shell commands, scripts, built-in media/volume/brightness, page switching - Keyboard shortcut action (wtype/xdotool) - On-device display with periodic command output - Auto page switching (Hyprland, Sway, Niri, GNOME, KDE, X11) - Screensaver with idle detection - Config hot-reload - Multi-device support
47 lines
842 B
JSON
47 lines
842 B
JSON
{
|
|
"version": 1,
|
|
"log_level": "info",
|
|
"default_page": "main",
|
|
"devices": [
|
|
{
|
|
"serial": "",
|
|
"brightness": 75
|
|
}
|
|
],
|
|
"pages": [
|
|
{
|
|
"name": "main",
|
|
"keys": [
|
|
{
|
|
"index": 0,
|
|
"icon": "fa:terminal",
|
|
"action": {
|
|
"type": "command",
|
|
"command": "kitty",
|
|
"background": true
|
|
}
|
|
},
|
|
{
|
|
"index": 1,
|
|
"icon": "fab:firefox",
|
|
"label": "Browser",
|
|
"font": "medium",
|
|
"font_size": 11,
|
|
"action": {
|
|
"type": "command",
|
|
"command": "firefox",
|
|
"background": true
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"auto_switch": [],
|
|
"screensaver": {
|
|
"enabled": false,
|
|
"idle_seconds": 30,
|
|
"image": "",
|
|
"brightness": 10
|
|
}
|
|
}
|