mirror of https://git.sr.ht/~michalr/menu
Added some simple documentation into README
This commit is contained in:
parent
8c64d82fa9
commit
abbaec38da
16
README.md
16
README.md
|
@ -3,3 +3,19 @@
|
||||||
Simple GUI menu aimed at touchscreens that is supposed to provide quick actions for the user.
|
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?)
|
[![builds.sr.ht status](https://builds.sr.ht/~michalr/menu.svg)](https://builds.sr.ht/~michalr/menu?)
|
||||||
|
|
||||||
|
## 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`.
|
||||||
|
|
Loading…
Reference in New Issue