blob: 96b0aa30126bb7f156ca6696f8229345d6382ad6 (
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("")
case "config":
a.footer.SetText("")
}
}
|