You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Control Spotify directly from your tmux session. Compatible with macOS.
Features
Control basic Spotify functions like play, pause, next, and previous.
Toggle shuffle and repeat modes.
Bind Spotify playlists/albums/tracks to specific keys (1-9) for quick access.
Display currently playing track, artist, album, and playback state in the tmux status bar.
Configure your own keybindings.
Installation with Tmux Plugin Manager (TPM)
Add the plugin to your tmux.conf:
set -g @plugin 'danjeltahko/spotify-tmux'
Press prefix + I to install the plugin.
Usage
Once installed, you can use the key bindings to control Spotify. By default, the Spotify prefix is set to prefix + S.
Press the Spotify prefix followed by the configured keybinding:
Key
Action
o
Open Spotify
s
Toggle shuffle
r
Toggle repeat
p
Play/Pause
l
Next track
h
Previous track
a
Add a playlist
1-9
Play playlists 1 through 9
?
Show your saved playlists
Caution: When adding a new playlist/album with spotifyprefix+a, do not use : in the naming.The playlist file separates the ID, name and Spotify link using :. So using : in the name will result in playback issues. Instead, please use - for example.
Configuration
You can customize keybindings and other settings by setting tmux options in your tmux.conf: