colors
This commit is contained in:
parent
98a9b9c091
commit
b0769a9612
@ -537,6 +537,7 @@ func (m mainModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func InitMain(ctx *gctx.Context, client *spotify.Client, mode Mode) (tea.Model, error) {
|
func InitMain(ctx *gctx.Context, client *spotify.Client, mode Mode) (tea.Model, error) {
|
||||||
|
lipgloss.SetColorProfile(2)
|
||||||
playing, _ := client.PlayerCurrentlyPlaying(ctx)
|
playing, _ := client.PlayerCurrentlyPlaying(ctx)
|
||||||
if playing.Playing {
|
if playing.Playing {
|
||||||
currentlyPlaying = "Now playing " + playing.Item.Name + " by " + playing.Item.Artists[0].Name
|
currentlyPlaying = "Now playing " + playing.Item.Name + " by " + playing.Item.Artists[0].Name
|
||||||
|
Loading…
Reference in New Issue
Block a user