Skip to content

Commit 0f8bbad

Browse files
committed
🐛 Fixed non responsive argument.
1 parent e895b85 commit 0f8bbad

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

segments/now_playing.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,12 @@ TMUX_POWERLINE_SEG_NOW_PLAYING_MPD_SIMPLE_FORMAT_DEFAULT="%artist% - %title%"
1212
TMUX_POWERLINE_SEG_NOW_PLAYING_PLAYERCTL_FORMAT_DEFAULT="{{ artist }} - {{ title }}"
1313
TMUX_POWERLINE_SEG_NOW_PLAYING_RHYTHMBOX_FORMAT_DEFAULT="%aa - %tt"
1414
TMUX_POWERLINE_SEG_NOW_PLAYING_NOTE_CHAR_DEFAULT=""
15+
# Music player to use. Can be any of {audacious, banshee, cmus, itunes, lastfm, mocp, mpd, mpd_simple, pithos, playerctl, rdio, rhythmbox, spotify, spotify_wine, file}.
16+
TMUX_POWERLINE_SEG_NOW_PLAYING_MUSIC_PLAYER_DEFAULT="spotify"
1517

1618
generate_segmentrc() {
1719
read -d '' rccontents << EORC
18-
# Music player to use. Can be any of {audacious, banshee, cmus, itunes, lastfm, mocp, mpd, mpd_simple, pithos, playerctl, rdio, rhythmbox, spotify, spotify_wine, file}.
19-
export TMUX_POWERLINE_SEG_NOW_PLAYING_MUSIC_PLAYER=""
20+
export TMUX_POWERLINE_SEG_NOW_PLAYING_MUSIC_PLAYER="${TMUX_POWERLINE_SEG_NOW_PLAYING_MUSIC_PLAYER_DEFAULT}"
2021
# File to be read in case the song is being read from a file
2122
export TMUX_POWERLINE_SEG_NOW_PLAYING_FILE_NAME=""
2223
# Maximum output length.

0 commit comments

Comments
 (0)