1
mirror of git://git.acid.vegas/random.git synced 2024-11-14 12:06:38 +00:00
random/cmus-now

4 lines
282 B
Bash
Executable File

#!/bin/sh
artist=`cmus-remote -Q | grep --text '^tag artist' | sed '/^tag artistsort/d' | awk '{gsub("tag artist ", "");print}'`
title=`cmus-remote -Q | grep --text '^tag title' | sed -e 's/tag title //' | awk '{gsub("tag title ", "");print}'`
notify-send "$artist - $title"