mrneilypops

mpd.sh-dwmXS

Aug 10th, 2017
96
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
RAW Paste Data