1 2 3 4 5 6 7
#!/bin/bash title=$(cmus-remote -Q | grep title | cut -c11-) artist=$(cmus-remote -Q | grep artist | cut -c12-) echo "$artist - $title"