Skip to content

Commit d95c27e

Browse files
committed
📝 Moved comment into function for configuration file
1 parent bdbf92b commit d95c27e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

segments/now_playing.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ 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}.
1615
TMUX_POWERLINE_SEG_NOW_PLAYING_MUSIC_PLAYER_DEFAULT="spotify"
1716

1817
generate_segmentrc() {
1918
read -d '' rccontents << EORC
19+
# 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}.
2020
export TMUX_POWERLINE_SEG_NOW_PLAYING_MUSIC_PLAYER="${TMUX_POWERLINE_SEG_NOW_PLAYING_MUSIC_PLAYER_DEFAULT}"
2121
# File to be read in case the song is being read from a file
2222
export TMUX_POWERLINE_SEG_NOW_PLAYING_FILE_NAME=""

0 commit comments

Comments
 (0)