2024-09-08 11:43:21 +00:00
|
|
|
# menu
|
|
|
|
|
|
|
|
Simple GUI menu aimed at touchscreens that is supposed to provide quick actions for the user.
|
|
|
|
|
|
|
|
[![builds.sr.ht status](https://builds.sr.ht/~michalr/menu.svg)](https://builds.sr.ht/~michalr/menu?)
|
2024-09-10 14:25:48 +00:00
|
|
|
|
|
|
|
## Configuration
|
|
|
|
|
|
|
|
Configuration is done using a JSON file. See [`example_config.json`](./example_config.json) for details.
|
|
|
|
|
|
|
|
## Available actions
|
|
|
|
|
|
|
|
### `MSG`
|
|
|
|
|
|
|
|
Shows a message `action_message` for `action_param` number of seconds.
|
|
|
|
|
|
|
|
`action_param` must be an integer.
|
|
|
|
|
|
|
|
## `GET`
|
|
|
|
|
|
|
|
Performs a `GET` on the `action_param` URL while displaying `action_message`.
|