Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if [ ! -x /usr/bin/cmus-remote ];
- then
- echo "cmus is not installed."
- exit
- fi
- TITLE=$( cmus-remote -Q 2>/dev/null | grep title | cut -d " " -f 3- )
- if [ -z "$TITLE"];
- then
- echo " "
- else
- echo "$TITLE"
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement