39 lines
947 B
Markdown
39 lines
947 B
Markdown
# gui
|
|
|
|
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.
|
|
|
|
## Config
|
|
|
|
The GUI uses a config similar to the following. To generate a default config, launch the gui and immediatly select the ```Save & Exit``` button. The generated configuration will be at ```/etc/default/pf.toml```.
|
|
|
|
**Please Note**: The below is a sample and may or may not match the coded defaults. We also do *not* recommend changing values that are not present in the UI unless you are sure of the consequences.
|
|
|
|
```
|
|
|
|
config-ui-only = false
|
|
|
|
[albums]
|
|
root = "/tank/pictures"
|
|
selected = ["/", "/KemoNine"]
|
|
|
|
[fan]
|
|
minspeed = 10.0
|
|
pollinginterval = "30s"
|
|
|
|
[fan.speeds]
|
|
100 = 55.0
|
|
25 = 45.0
|
|
50 = 50.0
|
|
75 = 52.0
|
|
|
|
[hdmi]
|
|
off = "*-*-* 00:00:00"
|
|
on = "*-*-* 06:00:00"
|
|
|
|
[slideshow]
|
|
restartinterval = "168h"
|
|
slideinterval = "300s"
|
|
|
|
|
|
```
|