Merge pull request #207 from jumscrafteur/master

Add dracula-spotify-tui-format option
This commit is contained in:
Ethan Edwards 2023-04-27 19:24:39 -04:00 committed by GitHub
commit 9b084c6b2e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,7 +15,8 @@ main()
exit 1
fi
spotify_playback=$(spt playback)
FORMAT=$(get_tmux_option "@dracula-spotify-tui-format" "%f %s %t - %a")
spotify_playback=$(spt playback -f "${FORMAT}")
echo ${spotify_playback}
}