Enables displaying information about the song being played by MOC in tmux status-left/right.
If you use tmux-plugins/tpm you can simply add
set -g @plugin 't3nro/tmux-moc'
to your .tmux.conf
and hit PREFIX
+ I to clone and source the plugin.
Add format strings to the status-left
or status-right
option in your .tmux.conf
.
Format string | MOC query string |
---|---|
#{moc_state} |
%state |
#{moc_title} |
%title |
#{moc_artist} |
%artist |
#{moc_song} |
%song |
#{moc_album} |
%album |
#{moc_time_total} |
%tt |
#{moc_time_total_second} |
%ts |
#{moc_time_left} |
%tl |
#{moc_time_current} |
%ct |
#{moc_time_current_second} |
%cs |
#{moc_file_name} |
%file |
#{moc_file_bitrate} |
%b |
#{moc_file_rate} |
%r |