piframe-go/cmd/gui
KemoNine 15dfaa31f9 Wire up more of the config ; apply hdmi on/off schedules on save 2020-09-04 23:28:01 -04:00
..
README.md Fill out GUI some more, enable saving of config file on exit 2020-09-04 20:28:32 -04:00
gui.go Wire up more of the config ; apply hdmi on/off schedules on save 2020-09-04 23:28:01 -04:00

README.md

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 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 intervals
slideshow.slideinterval = "300s"
slideshow.restartinterval = "7d"

# 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
hdmi.off = "*-*-* 00:00:00"
hdmi.on = "*-*-* 06:00:00"

# Album configuration
albums.root = "/tank/pictures"
albums.selected = ["/", "/KemoNine"]