dotfiles

Cem's Dotfiles
git clone git://git.ckyln.com/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

getmpd (166B)


      1 #!/usr/bin/env sh
      2 mpc -f "[[%artist% - ]%title%]|[%file%]" 2>/dev/null | grep -v "volume:" | head -n 1 | tr '\n' ' '
      3 mpc 2>/dev/null | awk 'NR==2' | awk '{print $3}'