blob: 1db1843b64e89330987aa373fd912e934c3e0753 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
package src
func (a *app) updateFooter() {
switch a.headerSections.GetHighlights()[0] {
case "artists":
a.footer.SetText("[blue]l:[yellow] Next song [blue]p:[yellow] Toggle pause")
case "playqueue":
a.footer.SetText("[blue]l:[yellow] Next song [blue]p:[yellow] Toggle pause [blue]d:[yellow] Remove [blue]j:[yellow] Move up [blue]k:[yellow] Move down")
case "playlists":
a.footer.SetText("Come back later!")
case "config":
a.footer.SetText("Configuration page")
}
}
|