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!

http://farm2.static.flickr.com/1061/5155271854_c5ea850aba.jpg

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.