void

- enter the void 🪐
git clone git://git.acid.vegas/archlinux.git
Log | Files | Refs | Archive

cmus-now (381B)

      1 #!/bin/sh
      2 # cmus 'now playing' notifications in dunst - developed by acidvegas (https://git.acid.vegas/void)
      3 artist=`cmus-remote -Q | grep --text '^tag artist' | sed '/^tag artistsort/d' | awk '{gsub("tag artist ", "");print}'`
      4 title=`cmus-remote  -Q | grep --text '^tag title'  | sed -e 's/tag title //'  | awk '{gsub("tag title ",  "");print}'`
      5 notify-send "♫ $artist - $title"