Skip to content
🎶 TPM plugin around spotify (OSX only)
Branch: master
Clone or download
Latest commit c107444 Mar 23, 2016
Type Name Latest commit message Commit time
Failed to load latest commit information.
scripts only show status if spotify is running Mar 23, 2016
spotify.tmux + status icons Mar 16, 2016

Tmux Spotify Plugin

Tmux plugin that shows the current spotify status in your statusline

Introduces the following new status variables:

  • #{spotify_status}
  • #{spotify_artist}
  • #{spotify_album}
  • #{spotify_track}


The following interpolations are made available for your statusline:

  • #{spotify_status} - Spotify status icons
  • #{spotify_artist} - Current artist
  • #{spotify_album} - Current album
  • #{spotify_track} - Current track

Here's the example in .tmux.conf:

set -g status-right "♫ #{spotify_status} #{spotify_artist}: #{spotify_track} | %a %h-%d %H:%M "

Customize the icons with:

set -g @spotify_playing_icon ">"
set -g @spotify_paused_icon "="

# optional: defaults to `paused_icon`
set -g @spotify_stopped_icon "X"



Installation with Tmux Plugin Manager (recommended)

Add plugin to the list of TPM plugins in .tmux.conf:

set -g @plugin 'robhurring/tmux-spotify'

Hit prefix + I to fetch the plugin and source it.

Manual Installation

Clone the repo:

$ git clone ~/clone/path

Add this line to the bottom of .tmux.conf:

run-shell ~/clone/path/spotify.tmux

Reload TMUX environment:

# type this in terminal
$ tmux source-file ~/.tmux.conf
You can’t perform that action at this time.