Tmux plugin that shows the current music status for TIDAL (OSX only, desktop app required)
Introduces the following new status variables:
#{music_status}
#{track}
The following interpolations are made available for your statusline:
#{music_status}
- TIDAL status icons#{artist}
- Current playing track the 'song title - artist'
Here's the example in .tmux.conf
:
set -g status-right "♫ #{music_status} #{track} | %a %h-%d %H:%M "
Customize the icons with:
set -g @tidal_playing_icon ">"
set -g @tidal_paused_icon "="
Installation with Tmux Plugin Manager (recommended)
Add plugin to the list of TPM plugins in .tmux.conf
:
set -g @plugin 'kdssoftware/tmux-tidal'
Hit prefix + I
to fetch the plugin and source it.
Clone the repo:
$ git clone https://github.com/kdssoftware/tmux-tidal ~/clone/path
Add this line to the bottom of .tmux.conf
:
run-shell ~/clone/path/music.tmux
Reload TMUX environment:
# type this in terminal
$ tmux source-file ~/.tmux.conf
Thanks to https://github.com/robhurring/tmux-spotify for a good boilerplate good which was used to create this repo