My previous post shows you how to include play count in Conky. I don’t know how could I even forget Love song. Anyway, I changed lf-playcount-image.sh, now it shows the loverly heart!
In my ~/.conkyrc, I made few changes. Basically, you would need:
${execi 6 lf-playcount-image.sh}
${if_match "${execi 6 cut -f 7 -d \ "/tmp/lf-playcount-image"}" == "1"}${color red}♥$color $else${color black}♥$color $endif$
First line is to update, second one is to grab the love status, which is stored in /tmp/lf-playcount-image at field 7, space-separated. If it’s 1, then this currently playing song is loved on Last.fm.
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.