From 8ee569dd6aa5db3837b3f491ea4d1cc2d7190e3d Mon Sep 17 00:00:00 2001 From: Jumscrafteur Date: Wed, 26 Apr 2023 17:08:06 +0200 Subject: [PATCH] Add dracula-spotify-tui-format --- scripts/spotify-tui.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/spotify-tui.sh b/scripts/spotify-tui.sh index dc07206..61352ef 100755 --- a/scripts/spotify-tui.sh +++ b/scripts/spotify-tui.sh @@ -15,7 +15,8 @@ main() exit 1 fi - spotify_playback=$(spt playback) + FORMAT=$(get_tmux_option "@dracula-spotify-tui-format" "%t - %a") + spotify_playback=$(spt playback -f "${FORMAT}") echo ${spotify_playback} }