Skip to content

tmux plugin displaying currently played song on Spotify

License

Notifications You must be signed in to change notification settings

andoniaf/tmux-plugin-spotify

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

tmux-plugin-spotify

tmux plugin displaying currently played song on Spotify

Note: currently it works only on Linux!

Requirements

In order to use this plugin, you need to install spotify-cli-linux program.

You can do it with the following command:

pip install spotify-cli-linux

Installation

Installation with Tmux Plugin Manager (recommended)

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

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

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

If format strings are added to status-right, they should now be visible.

Usage

In order to see currently played Spotify song and artist via this tmux plugin, add the following command to your .tmux.conf file:

#{spotify_status_full}

You can also set more options like:

#{spotify_status}, #{spotify_song}, #{spotify_artist}, #{spotify_album}, #{spotify_playback}

References

About

tmux plugin displaying currently played song on Spotify

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%