Advertisement
mrneilypops

mpd.sh-dwmXS

Aug 10th, 2017
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. #!/bin/sh
  2. #######
  3. # DWM #
  4. #######
  5. space=`echo " "`
  6. timeout=0.2
  7.  
  8. while true
  9. do
  10. #echo `mpc | sed -n '1,1p'` @ `mpc volume | sed -e 's#volume: ##'`
  11. echo `mpc --format \[%title%]\ | head -n 1`
  12. sleep $timeout
  13. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement