piframe-go/cmd/gui/README.md

30 lines
713 B
Markdown
Raw Permalink Normal View History

# gui
2020-08-26 00:22:50 +00:00
2020-08-28 16:51:21 +00:00
This is the main source code for the custom UI used by PiFrame. This is responsible for things like restart, WiFi config, ensuring the slide show is running and more.
2020-09-03 03:47:07 +00:00
## Config
The GUI will work off a config similar to the following. Use the ```generate config``` option to generate a default configuration in ```/etc/default/pf.toml```
```
[slideshow]
slideinterval = "300s"
restartinterval = "7d"
2020-09-03 03:47:07 +00:00
[hdmi]
# These are SYSTEMD.TIME formatted times
# You probably want to just adjust the actual times here
# See https://www.freedesktop.org/software/systemd/man/systemd.time.html
off = "*-*-* 00:00:00"
on = "*-*-* 06:00:00"
[albums]
root = "/tank/pictures"
selected = [
"/",
"/KemoNine"
]
```