Compare commits

..

2 commits

Author SHA1 Message Date
KemoNine b0764b684a Add help text for intervals 2020-09-04 18:50:57 -04:00
KemoNine 20c73767de Add help text to hdmi on/off 2020-09-04 18:47:50 -04:00

View file

@ -242,12 +242,14 @@ func ConfigGui(config *koanf.Koanf) {
main.SetTitle("Configure Intervals") main.SetTitle("Configure Intervals")
main.Clear() main.Clear()
main.AddItem(intervalsForm, 0, 1, true) main.AddItem(intervalsForm, 0, 1, true)
main.AddItem(tview.NewTextView().SetText("Intervals are a number + letter\n\nUse\ns for seconds\nm for minutes\nh for hours\nd for days\nw for weeks"), 0, 1, false)
app.SetFocus(intervalsForm) app.SetFocus(intervalsForm)
} }
if title == "HDMI On/Off" { if title == "HDMI On/Off" {
main.SetTitle("Configure HDMI On/Off") main.SetTitle("Configure HDMI On/Off")
main.Clear() main.Clear()
main.AddItem(hdmiForm, 0, 1, true) main.AddItem(hdmiForm, 0, 1, true)
main.AddItem(tview.NewTextView().SetText("These values are date+time combos\n\nPlease see https://www.freedesktop.org/software/systemd/man/systemd.time.html for details\n\nONLY adjust the times (24h format) if unsure of what to change"), 0, 1, false)
app.SetFocus(hdmiForm) app.SetFocus(hdmiForm)
} }
}) })