From fb3a70a1ee938cba7d275ca91b55ac3ba7dcdc65 Mon Sep 17 00:00:00 2001 From: aditya-K2 Date: Mon, 18 Oct 2021 13:18:56 +0530 Subject: [PATCH] color changes --- client.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client.go b/client.go index ae9a25f..2025bf6 100644 --- a/client.go +++ b/client.go @@ -63,15 +63,15 @@ func Update(conn mpd.Client, f []FileNode, inputTable *tview.Table) { if err == nil && _songAttributes[0]["Title"] != "" { _, _, w, _ := inputTable.GetInnerRect() inputTable.SetCell(i, 0, - tview.NewTableCell("[#fbff00]"+getFormattedString(_songAttributes[0]["Title"], w/3)). + tview.NewTableCell("[green]"+getFormattedString(_songAttributes[0]["Title"], w/3)). SetAlign(tview.AlignLeft)) inputTable.SetCell(i, 1, - tview.NewTableCell("[#fbff00]"+getFormattedString(_songAttributes[0]["Artist"], w/3)). + tview.NewTableCell("[magenta]"+getFormattedString(_songAttributes[0]["Artist"], w/3)). SetAlign(tview.AlignLeft)) inputTable.SetCell(i, 2, - tview.NewTableCell("[#ff0030]"+_songAttributes[0]["Album"]). + tview.NewTableCell("[yellow]"+_songAttributes[0]["Album"]). SetAlign(tview.AlignLeft)) } else if _songAttributes[0]["Title"] == "" { @@ -81,7 +81,7 @@ func Update(conn mpd.Client, f []FileNode, inputTable *tview.Table) { } } else { inputTable.SetCell(i, 0, - tview.NewTableCell("[#fbff00::b]"+j.path). + tview.NewTableCell("[yellow::b]"+j.path). SetAlign(tview.AlignLeft)) } }